* * *

Author Topic: IntelliJ IDEA + Pascal  (Read 42254 times)

argb32

  • Jr. Member
  • **
  • Posts: 71
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #75 on: April 03, 2017, 12:14:31 am »
Released version 1.2 with basic debugging support.
Breakpoints, run to cursor, step over/into/out etc. As well as local variables view.
GDB is required and debug information need to be included in executable (-gw option).
Tested in Linux.

Thaddy

  • Hero Member
  • *****
  • Posts: 4617
Re: IntelliJ IDEA + Pascal
« Reply #76 on: April 03, 2017, 10:47:56 am »
Very nicely done, but IntelliJ seems not suitable to run on an averagely specified laptop so I uninstalled it from my laptop again (2 cores, 6 GB RAM). It is more than dead slow.
Strange, because other Java based editors - Eclipse(which is my default for Java)  and NetBeans - work at speed on the same laptop. No lagging.
I'll keep it on my desktop though, that one is over-specified. Note installation of your plugin worked like a breeze on both occasions.
What are the realistic hardware requirements for IntelliJ in your opinion? You don't really mean that you need i7, 8 virtual cores and 32 GB RAM - my desktop - for this to work?
« Last Edit: April 03, 2017, 10:56:52 am by Thaddy »
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

Bostjan

  • New member
  • *
  • Posts: 15
Re: IntelliJ IDEA + Pascal
« Reply #77 on: April 03, 2017, 11:45:42 am »
For me it works nice in a VM with 2vCPU and 6GB of RAM.

Host OS Windows 10, guest OS Windows 7 and vmware workstation 12.5 for virtualization.


argb32

  • Jr. Member
  • **
  • Posts: 71
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #78 on: April 03, 2017, 09:00:07 pm »
What are the realistic hardware requirements for IntelliJ in your opinion? You don't really mean that you need i7, 8 virtual cores and 32 GB RAM - my desktop - for this to work?

By default, IDEA limited to 750MB of heap (-Xmx option in idea64.vmoptions) for 64-bit mode. With JVM itself, off-heap buffers, stack etc it sums up to ~1.3GB on my machine. The same amount of memory is consumed by 3 most memory hungry tabs of Chrome. So 6GB is more than enough for IDEA.
A major slowdown may be caused by background indexing process which will start after creation of a new project. It's progress indicated on status bar below.
I-Pascal doesn't use some optimization facilities yet so it probably will consume more CPU than Java projects.

argb32

  • Jr. Member
  • **
  • Posts: 71
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #79 on: May 01, 2017, 03:03:19 pm »
Will it be useful for Pascal developers: Parameter Hints.
What you think?

argb32

  • Jr. Member
  • **
  • Posts: 71
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #80 on: May 25, 2017, 01:58:50 pm »
Version 1.3 is available with Pascal code style settings support.

Thaddy

  • Hero Member
  • *****
  • Posts: 4617
Re: IntelliJ IDEA + Pascal
« Reply #81 on: May 25, 2017, 03:09:40 pm »
Remarkable job! On first glance: Well done!
(I still have speed issues on my laptop, though)
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

argb32

  • Jr. Member
  • **
  • Posts: 71
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #82 on: May 25, 2017, 07:12:36 pm »
Thanks.
Can't say anything on performance on laptop if JVM tuning didn't work.:(

Thaddy

  • Hero Member
  • *****
  • Posts: 4617
Re: IntelliJ IDEA + Pascal
« Reply #83 on: May 26, 2017, 06:11:57 am »
Thanks.
Can't say anything on performance on laptop if JVM tuning didn't work.:(
That's IntelliJ, not your plugin.

For anyone that uses IntelliJ already and also uses FreePascal I'd recommend to give your plugin a try. I like it very much.
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

argb32

  • Jr. Member
  • **
  • Posts: 71
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #84 on: September 15, 2017, 12:54:29 am »
Version 1.40 features LLDB debugger backend which is very useful for OSX users.
More detailed changelog is available here.

sebjj

  • Newbie
  • Posts: 1
Re: IntelliJ IDEA + Pascal
« Reply #85 on: September 21, 2017, 12:38:54 pm »
Nice work argb32.
I can't see the commits on https://github.com/casteng/i-pascal
Are you storing the source on another platform?

JD

  • Hero Member
  • *****
  • Posts: 1603
Re: IntelliJ IDEA + Pascal
« Reply #86 on: September 21, 2017, 02:42:53 pm »
Very nicely done, but IntelliJ seems not suitable to run on an averagely specified laptop so I uninstalled it from my laptop again (2 cores, 6 GB RAM). It is more than dead slow.
Strange, because other Java based editors - Eclipse(which is my default for Java)  and NetBeans - work at speed on the same laptop. No lagging.
I'll keep it on my desktop though, that one is over-specified. Note installation of your plugin worked like a breeze on both occasions.
What are the realistic hardware requirements for IntelliJ in your opinion? You don't really mean that you need i7, 8 virtual cores and 32 GB RAM - my desktop - for this to work?

I'm surprised. I have Eclipse Java EE Oxygen & Intellij IDEA Community on my DELL laptop (Centrino 2 + 4GB RAM). After using ZeroTrunAround's Optimizer for Eclipse, Eclipse and Intellij IDEA use approximately the same memory - 600MB. Intellij IDEA starts faster if it does not load projects by default and for me at least it is more responsive than Eclipse on my old limited laptop.

JD
« Last Edit: September 21, 2017, 08:54:35 pm by JD »
Windows (10, 7) - Lazarus 1.8RC5/FPC 3.0.4 (also Delphi occasionally), NewPascal
Linux Mint Cinnamon  - Lazarus 1.8RC5/FPC 3.0.4
Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB

argb32

  • Jr. Member
  • **
  • Posts: 71
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #87 on: September 27, 2017, 01:51:08 pm »
sebjj
No, all the code is on GitHub. Just pushed.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus