Recent

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

argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #60 on: May 04, 2015, 11:17:38 pm »
IDEA has several completion modes - basic, triggered by alt+space and extended, triggered by another alt+space.
The plugin was programmed to show in basic mode only completion variants from project, and not from libraries. Therefore to see completion variants from RTL a second alt+space was needed.
Now I've changed this and all variant are shown after first alt+space.
Will think how use extended completion. Most likely the only variants with correct visibility and type will be shown in basic mode and all in extended.

I've updated the plugin, site and added installation and setup instructions page.
Are the pictures useful?

vfclists

  • Hero Member
  • *****
  • Posts: 827
    • HowTos Considered Harmful?
Re: IntelliJ IDEA + Pascal
« Reply #61 on: May 05, 2015, 12:03:58 am »
IDEA has several completion modes - basic, triggered by alt+space and extended, triggered by another alt+space.
The plugin was programmed to show in basic mode only completion variants from project, and not from libraries. Therefore to see completion variants from RTL a second alt+space was needed.
Now I've changed this and all variant are shown after first alt+space.
Will think how use extended completion. Most likely the only variants with correct visibility and type will be shown in basic mode and all in extended.

I've updated the plugin, site and added installation and setup instructions page.
Are the pictures useful?

Hi argb32, This is my first enquiry about the IntelliJ plugin. Does it do background syntax checking, where it underlines words and has the marks in the gutter that indicate where syntax errors have been found?
Windows - Lazarus 1.0.8/FPC 2.6.0
Linux - Lazarus 1.4.4 /FPC 2.6.4

argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #62 on: May 05, 2015, 01:48:16 am »
Does it do background syntax checking, where it underlines words and has the marks in the gutter that indicate where syntax errors have been found?

Yes, it does syntax and some semantic (currently undeclared identifiers) checks and red marks in the gutter (at the right side) indicate errors found.
The gutter is customizable and also indicate warnings, usages of identifier under cursor, search results etc.

Silvio Clécio

  • Guest
Re: IntelliJ IDEA + Pascal
« Reply #63 on: August 04, 2015, 12:06:43 am »
Hello,

Very nice contribution!

I use Intellij a lot for Android, NodeJS and AngularJS development, so this plugin will be a very good option for edit/compile many files in a single IDE.

Take a look at my test: http://pasteboard.co/2s6mvrWg.png. (or http://picpaste.com/pics/Capture-5dEuzJAo.1438639511.PNG)

Thank you very much!

argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #64 on: August 20, 2015, 12:46:11 am »
A new version is out.
The changes include:
  • missing method declaration/implementation error highlight + quick fix (see animated picture on site)
  • missing routine implementation error highlight + quick fix
  • missing routine declaration in interface section info highlight + quick fix
  • method/class implementations/descendants search (arrow markers on left gutter)
  • super method search
  • ancestor class search
  • several fixes to parser (mostly bugs reported by the community) and completion

argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #65 on: December 02, 2015, 10:10:50 pm »
Version 0.99 is here.
Most visible change is methods override generator available on Alt+Ins (see attachment).

Bug reports and feature request now can be posted into issue tracker.
« Last Edit: December 02, 2015, 10:13:43 pm by argb32 »

xlp

  • Newbie
  • Posts: 1
Re: IntelliJ IDEA + Pascal
« Reply #66 on: January 18, 2016, 04:09:20 am »
Hi argb32,

Tried your plugins, it's quite nice. I've tried emailing you, but probably went to your spam folder.
I was wondering if you'd like some help on this. I've been fiddling around with lots of JetBrains products for years, really like all their AST/PSI stuff... Had a look at the AST produced by your parser using PsiViewer, seems quite ok to deal with.
I would be interesting in trying to implement more features, for example, renaming a method won't offer to rename it in the whole tree.

I've been asking JetBrains, without much success, to create a Delphi IDE. Like many here I used to think Java was too heavy and I'd always stick to native IDEs, but when I discovered IntelliJ platform, I just couldn't resist it. And having written some Delphi Expert in the past, writting plugins for IJ is so much easier...

So anyway, would you like some help? :)

Cheers

argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #67 on: January 22, 2016, 04:46:21 pm »
Finally: I-Pascal 1.0 stable release.
What's new:
  • fixed bug with "undeclared identifier" on .ppu unit
  • improved IFDEFs and include handling
  • performance improvement
  • quick fixes are now context-aware and use template engine
  • many new quick fixes: add parameter/field/property/method/nested things etc

Since 2012 the plugin installed 24854 times from official plugins store.

Feel free to add feature requests and bug reports here.

xlp: Thank you for offering help but currently I don't need help in development of the plugin.
What can help much:
Bug reports, feature requests and spreading the word about I-Pascal.
Thanks again.
« Last Edit: January 22, 2016, 06:23:28 pm by argb32 »

Graeme

  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Re: IntelliJ IDEA + Pascal
« Reply #68 on: January 22, 2016, 09:31:07 pm »
Wow, that looks very impressive. I'll have to give IntelliJ IDE + Pascal a go.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #69 on: January 08, 2017, 11:58:43 pm »
I-Pascal is at version 1.09 and it's open source now.
https://github.com/casteng/i-pascal

lainz

  • Hero Member
  • *****
  • Posts: 3710
  • Leandro Diaz
Re: IntelliJ IDEA + Pascal
« Reply #70 on: January 09, 2017, 12:14:48 am »
What I like that is when you're typing the list with all variables pop ups really fast, you don't need to wait for it or press Ctrl + Space.

Blaazen

  • Hero Member
  • *****
  • Posts: 2920
  • POKE 54296,15
    • Eye-Candy Controls
Re: IntelliJ IDEA + Pascal
« Reply #71 on: January 09, 2017, 04:52:45 am »
The delay is configurable: Tools -> Options -> (node) Completion and Hints. It is the upper trackbar.
Lazarus 2.1.0 r63881 FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

lainz

  • Hero Member
  • *****
  • Posts: 3710
  • Leandro Diaz
Re: IntelliJ IDEA + Pascal
« Reply #72 on: January 09, 2017, 02:36:58 pm »
The delay is configurable: Tools -> Options -> (node) Completion and Hints. It is the upper trackbar.

Yes but that doesn't give the hint when you're typing existing variables. For example go to OnCreate and type Form1, when you're typing it there's no completion or hint window, except if you press ctrl + space, it comes only when you finished typing the whole word.

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: IntelliJ IDEA + Pascal
« Reply #73 on: January 12, 2017, 09:25:33 pm »
OMG... that's a great news... Works under Windows?

argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: IntelliJ IDEA + Pascal
« Reply #74 on: January 13, 2017, 07:35:40 pm »
Yes, it works well on Linux, OSX and Windows.

 

TinyPortal © 2005-2018