Skip to content
⌘ NSIS Forum Archive

NsiEd

11 posts

Anders#

NsiEd

I have been playing with the idea of replacing MakeNsisW with a "real" editor.

Requires Win2000 or later. The name is not set in stone, I'm open for suggestions.

Known issues:
  • WONTFIX: "Best compression" mode
  • WONTFIX: "Choose compressor" command line / file type mode
  • WONTFIX: Syntax highlighting (Might support Scintilla later)
  • WONTFIX: MDI windows
  • Some commands don't work yet
  • Only partial High DPI support


Extract to your NSIS directory and play around a bit and let me know what you guys think...
Pawel#
Works fine :P

Would be great if you make it like Notepad++ and NSIS compiler in one app 🙂 (with multi tabs, syntax highlighting, lang support, etc...)

Is this based on makensisw source or you are writing it from scratch?
Anders#
It already supports multiple tabs? (Drag & drop, multiple files in open dialog (on Vista+) and NsiEd.exe "yourfile.nsi" should work)

I'm writing it from scratch!
JasonFriday13#
Cool, I take it that it's windows only? I attempted a basic cross-platform code editor a few years ago, I didn't get very far though.
Pawel#
Originally Posted by Anders View Post
It already supports multiple tabs? (Drag & drop, multiple files in open dialog (on Vista+) and NsiEd.exe "yourfile.nsi" should work)
Yes. It works fine! (Win10 Pro CA)
And that is very nice that you are working on such project.
-Pawel
Anders#
Originally Posted by JasonFriday13 View Post
Cool, I take it that it's windows only? I attempted a basic cross-platform code editor a few years ago, I didn't get very far though.
Yes, Windows only. It is never going to be the best editor ever but it should allow us to demo more integration with the default programs feature in the installer.
JasonFriday13#
I was considering using parts of the nsis tokens as a source of supported highlights, then having a custom highlighting layer between the text data storage and the renderer. The thinking behind it is that if commands are added, edited, or removed, these will also show up in the editor. Also, possibly sharing parts of the parsing code between the two. Well, that's what I had planned for my version anyway.
Anders#
New build, v0.1.1707.1000

+ Double-click log errors and warnings to jump to file:line
+ Replace text (Ctrl+H)
+ Cut line (Ctrl+L)
+ Copy as path
+ Open containing folder
+ Open file properties
* Changed DPI font handling
If someone wants to design 24x24 and/or 32x32 toolbar images that would be helpful...
Anders#
0.1.1707.1400

+ Tab/spaces settings dialog
+ MakeNsisW compatible global symbols editor dialog
+ Shift+Tab moves cursor back by one tab in editor 
Anders#
0.1.1707.1900

+ Press Ctrl+Shift+Spacebar to display syntax help for instruction on current line 
(Re-uploaded with a small update to the keyword detection)