Recent

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

argb32

  • Jr. Member
  • **
  • Posts: 89
    • 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: 14198
  • Probably until I exterminate Putin.
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 »
Specialize a type, not a var.

Bostjan

  • New Member
  • *
  • Posts: 14
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: 89
    • 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: 89
    • 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: 89
    • 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: 14198
  • Probably until I exterminate Putin.
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)
Specialize a type, not a var.

argb32

  • Jr. Member
  • **
  • Posts: 89
    • 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: 14198
  • Probably until I exterminate Putin.
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.
Specialize a type, not a var.

argb32

  • Jr. Member
  • **
  • Posts: 89
    • 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: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

argb32

  • Jr. Member
  • **
  • Posts: 89
    • 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.

argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #88 on: October 02, 2018, 10:32:04 pm »
v1.95 of the plugin is available.
Code analysis is now much (~100 times!) faster.
Documentation from comments can be extracted (View->Quick Documentation).
Within WITH blocks you immediately can see which identifier comes from which scope.
More details with animation:
http://siberika.com/whatsnew.htm

wrangler20

  • Newbie
  • Posts: 1
Re: IntelliJ IDEA + Pascal
« Reply #89 on: September 04, 2020, 06:34:11 am »
I am happy that I found this post. Finally a modern IDE available for Pascal that does not feel like 1990! Great job for developing the plugin!

 

TinyPortal © 2005-2018