Well I found a way to run notepad++ with per directory session info
Slight problem is it leaves a batch file window open.
Might be able to sort that out though - not sure.
Well I found a way to run notepad++ with per directory session info
Slight problem is it leaves a batch file window open.
Might be able to sort that out though - not sure.
> Might be able to sort that out though - not sure.
Run notepad++ with this command.
start notepad++
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Hmmmm well that works but...
Well here is the batchfile.
You see I need to wait untill notepad has finished to copy the session info back,Code:copy session.xml "c:\Documents and Settings\HP_Owner\Application Data\Notepad++\session.xml" start notepad++ copy "c:\Documents and Settings\HP_Owner\Application Data\Notepad++\session.xml" session.xml
and of course the above does not wait untill notepad has finished, so I will get the
same session every time. It gets rid of the window which is nice though.
However... if I create a batch file called note as bellow.
And the another called whatever.batCode:copy session.xml "c:\Documents and Settings\HP_Owner\Application Data\Notepad++\session.xml" "C:\Program Files\Notepad++\notepad++.exe" copy "c:\Documents and Settings\HP_Owner\Application Data\Notepad++\session.xml" session.xml exit
Then run whatever.bat, it seems to work, I believe except, I get a minimised DOS windowCode:start /min note.bat
when it is running, which is better but not ideal.
It would certaintly be useful though because I tend to have 2 or 3 different configurations
for notepad with half a dozen files in each.
Think I have figured out a way to get rid of the window now.
Will try it later.
Personally I love, and use SciTE (both on Windows and Linux).
I'm not hardcore, so I don't tend to use vi for everything other than system things.
I used to use Scite, but then I downloaded Notepad++ and discovered it was better. I really like Notepad++ a lot. I still have Scite lying around though.
Here is what I do:
Notepad++: I use this for PHP and Python scripting, as well as C/C++ programs that I intend to compile with gcc/g++, and then most probably copy over to a Linux machine.
Code::Blocks: I use this for large C/C++ projects with which I want portability (since the compiler I have it using is gcc)
VC++: I use this for some C++ coding, but mostly for C#. VC++ is actually a very nice IDE.
vim: Whenever I am on Linux I will use this, or if I am SSH'd into a computer and editing code in the terminal.
I use Notepad++ for everything (even as a hex editor) except C/C++ projects... it even has an easy-to-use FTP plugin.
What I like about Notepad++ is that it is clean. You have a menu bar, toolbar, status bar and a nice big edit box. It also looks nice - no annoying themes.
I use Code::Blocks and Dev-C++ for C/C++ projects. Code::Blocks looks so yummy (the font).
"The Internet treats censorship as damage and routes around it." - John Gilmore
Shame it's not portable, otherwise I'd love to use it. One of the main reasons I use SciTE is I can use it on Linux and Windows and it's identical.
No I don't fancy porting it, nor running it under wine