Re: [fpc-pascal] I-Pascal: IDE based on IntelliJ platform

2015-08-24 Thread leledumbo
> Maybe it is best to first see if you can retrieve the location via > 'which fpc'. If it is not found, then look in some hard-coded locations. > If still not found, them prompt the user for the path. Good idea, I suggest to peek at Lazarus startup code. It also checks for fpc and the like. Pro

Re: [fpc-pascal] I-Pascal: IDE based on IntelliJ platform

2015-08-24 Thread Graeme Geldenhuys
On 2015-08-22 13:27, ARGB32 wrote: > /usr/bin is checked for fpc executable. Under Linux (with its messed up file system hierarchy - user programs mixed with system programs) that might work, but under FreeBSD (and probably other *nix-type OSes too) it will most likely be located in /usr/local/bin

Re: [fpc-pascal] I-Pascal: IDE based on IntelliJ platform

2015-08-22 Thread Sven Barth
Am 22.08.2015 15:28 schrieb "ARGB32" : > > If someone knows better ways to determine locations of fpc executable > and RTL DCUs please let me know. For the unit paths parsing fpc.cfg (by default on *nix either /etc/fpc.cfg or ~/.fpc.cfg) might be the best solution. Regards, Sven

Re: [fpc-pascal] I-Pascal: IDE based on IntelliJ platform

2015-08-22 Thread ARGB32
l> Under *nix platforms, FPC layout is slightly different. At least bin and l> units by default doesn't have the same direct parent (/usr/bin vs l> /usr/lib/fpc/$fpcversion/units). Does this mean your plugin doesn't work l> there? I'm using Linux and CodeTyphoon which places all FPC-related f

Re: [fpc-pascal] I-Pascal: IDE based on IntelliJ platform

2015-08-21 Thread Graeme Geldenhuys
On 2015-08-21 10:41, leledumbo wrote: > Under *nix platforms, FPC layout is slightly different. At least bin and > units by default doesn't have the same direct parent Indeed. If you use FPC's official installer (not Linux distro package managers) it is less of a problem. You could symlink the "un

Re: [fpc-pascal] I-Pascal: IDE based on IntelliJ platform

2015-08-21 Thread leledumbo
> Feedback is highly appreciated. >From the install page: Click "+" icon and select "Free Pascal SDK" or "Delphi SDK". Then select SDK home directory. It's a directory where compiler directories such as "bin" and "units" are located. Under *nix platforms, FPC layout is slightly different. At leas

[fpc-pascal] I-Pascal: IDE based on IntelliJ platform

2015-08-20 Thread George Bakhtadze
Hi all, I-Pascal is an IDE (mainly code editor) for Object Pascal based on IntelliJ platform. Other products based on the platform includes IDEA, WebStorm, Android Studio. The platform is built around AST (abstract syntax tree) concept. The AST is built from code and used for analysis. This