http://notepad-plus-plus.org/ , it's totally free.
Notepad++ has some handy features for coding. If you set the language of Notepad++ to one of the C variants, putting your cursor in front of a bracket will turn it red, and turn the matching bracket red. Extremely useful for when you get messages from the toolset indicating a bracket mismatch. Notepad++ also supports selecting multiple lines of text, and then hitting tab and applying the tabbing to all the lines (and shift-tab for removing tabbing). Useful for making your code aligned as you prefer for easier readability.
Tab delineations are marked with vertical lines in the editor, so lining things up is a breeze. Finally, plus/minus symbols lets you collapse your if/case/functions, to help readability when you're looking at the logical flow of your script. You can't compile directly from Notepad++, but you can use it to find problems in the code and generally clean it up.
Fancy Colors includes a nwscript definition file for it. This provides auto-coloring like the default toolset (but turns off the matching bracket highlighting).
http://nwvault.ign.c...ls.Detail&id=82
Anyone else using this and have tips?
C++ language selected, notice the selected bracket has it's matched bracket also marked in red.
500x250http://1.bp.blogspot.com/-jdZSOw5lEEI/UBQKGpla1ZI/AAAAAAAABOI/wU3pqDtqoew/s1600/notepad1.jpg[/img]
same code in the nwscript language selection
500x250http://1.bp.blogspot.com/-Q0zW4WzgqHM/UBQKHd-ISWI/AAAAAAAABOQ/U44eC4Qfnew/s1600/notepad2.jpg[/img]
Notepad++
Débuté par
kamal_
, juil. 28 2012 03:56
#1
Posté 28 juillet 2012 - 03:56
#2
Posté 28 juillet 2012 - 04:58
kamal_ wrote...
You can't compile directly from Notepad++,
betcha can! If the Run... menu doesn't support Sky's standalone ASC directly, looks like the plug-in NppExec could handle it
Try a google search like "notepad++ run command",
#3
Posté 28 juillet 2012 - 09:50
ProgrammersNotepad2 + nssclc + fancycolours = external compiler
#4
Posté 28 juillet 2012 - 10:08
In the toolset compiler, the brackets turn bold instead. Not as easy to scan as red, but the same idea.
I don't particularly see the point of an external compiler, not unless it comes with its own external game client for bug testing. Actually writing the scripts ain't hard, getting them to behave in-game is the hard part.
I don't particularly see the point of an external compiler, not unless it comes with its own external game client for bug testing. Actually writing the scripts ain't hard, getting them to behave in-game is the hard part.
#5
Posté 28 juillet 2012 - 10:26
The bolding of the brackets is barely visible for me, so the red was a huge advantage.Lugaid of the Red Stripes wrote...
In the toolset compiler, the brackets turn bold instead. Not as easy to scan as red, but the same idea.
I don't particularly see the point of an external compiler, not unless it comes with its own external game client for bug testing. Actually writing the scripts ain't hard, getting them to behave in-game is the hard part.
External compiler means I can at least get the thing compiling correctly and not generating tons of missing brackets, missing ; function variable type etc errors, and focus on bugs when I have access to the game.
#6
Posté 29 juillet 2012 - 12:11
Especially good is because in an external compiler you dont need to have the toolset running - just working from the module directory - this is good for complex scripts that require constant testing.
#7
Posté 29 juillet 2012 - 05:33
I have used Notepad++ for GUI XML work. It would be great if someone could create a tool for feedback on errors in those scripts! Because XML scripts will just fail if they have an error in them, they can be extremely difficult to debug.





Retour en haut






