far manager as IDE

You want to talk about Far Manager, but don't know where to turn?
Post Reply
mymailid4reg
Posts: 8
Joined: Sat 04 Oct, 2014 15:35

far manager as IDE

Post by mymailid4reg »

i have seen some programmers doing all the coding, compiling and exectuing right within the Far manager itself.
Can anyone help me in letting me know how to do that? Like what are the required plugins and how to go through the process?
Thanks in advance.

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: far manager as IDE

Post by Игорь Юдинцев »

True Template (FAR 1,2,3): code templates, compilation, navigation through errors.
Editor Word Completion (FAR 1,2,3).
FarDebug (FAR 2): GDB integration.

mymailid4reg
Posts: 8
Joined: Sat 04 Oct, 2014 15:35

Re: far manager as IDE

Post by mymailid4reg »

thanks for you reply. I have tried adding true template into the plugins folder . Can you tell me how to go through the process of compiling and then editing? am new to this so am not able to get it.

mymailid4reg
Posts: 8
Joined: Sat 04 Oct, 2014 15:35

Re: far manager as IDE

Post by mymailid4reg »

i meant compiling and then running. I have a ".c" file. I want to compile that from within far manager and then get the output displayed.

Shmuel
Posts: 6031
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 27 times
Been thanked: 294 times

Re: far manager as IDE

Post by Shmuel »

mymailid4reg wrote:i meant compiling and then running. I have a ".c" file. I want to compile that from within far manager and then get the output displayed.
http://forum.farmanager.com/viewtopic.p ... 07#p119607 (the post is in Russian).
There may be other plugins or macros.

mymailid4reg
Posts: 8
Joined: Sat 04 Oct, 2014 15:35

Re: far manager as IDE

Post by mymailid4reg »

can you guide me through that? sorry if am being too naive

Shmuel
Posts: 6031
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 27 times
Been thanked: 294 times

Re: far manager as IDE

Post by Shmuel »

mymailid4reg wrote:can you guide me through that? sorry if am being too naive
I myself do not use Far as IDE, so I can't, sorry.
In general I don't think it is a good idea (unless you are very proficient with Far, its plugins and macros).

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: far manager as IDE

Post by Игорь Юдинцев »

mymailid4reg wrote:Can you tell me how to go through the process of compiling and then editing?
Open the file in editor, then F11 - True Template - Ext command - Compile release [GCC] (this should be bound to a macro for convenience).

mymailid4reg
Posts: 8
Joined: Sat 04 Oct, 2014 15:35

Re: far manager as IDE

Post by mymailid4reg »

i did try that already. When i used Compile release [GCC], it had Compiler options set to "-W -Wall -pedantic" and link libraries set to "-lgdi32".
should i leave them unchanged? When i had those values, i was not getting the output. I gave a simple hello world program in c.The error i got was
"rm is not recognised as internal or external command". Should i make any changes to compiler options and link libraries?

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: far manager as IDE

Post by Игорь Юдинцев »

External commands menu is configured in true-source-c++.xml, see <Language File="*.c" ...> and <Language File="*.cpp,*.cc,*.c++" ...> sections. By default there is a command "rm -f =N.o" for cleaning object files after build. You could either use "del =N.o" instead or install MSYS.

mymailid4reg
Posts: 8
Joined: Sat 04 Oct, 2014 15:35

Re: far manager as IDE

Post by mymailid4reg »

have tried making those changes. It still didnt work. The same error pops up!

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: far manager as IDE

Post by Игорь Юдинцев »

This can't be if you've replaced "rm -f" with "del", at least it would be some other error than "rm is not recognised".

Post Reply

Return to “General Discussions”