| View previous topic :: View next topic |
| Author |
Message |
bornsoft Valued Newbie
Joined: 19 Feb 2009 Posts: 39 Location: Germany
|
Posted: Sun Oct 25, 2009 7:56 pm Post subject: Great editor with VDS syntax highlighting |
|
|
hi,
if someone is looking for an additional vds-editor with syntax highlighting - here is a great one:
http://notepad-plus.sourceforge.net
it's called notepad++, has incredible features, supports many programming languages (of course
interface languages as well), and it's freeware.
there are loads of plugins (e.g. hexedit) for it and also it can run external programs, so it should
be possible by automating the vds-ide to run your scripts directly.
i made the syntax highlighting for vds, i dont know how to append a file to this post, so here it is:
(copy this code, save it to userDefineLang.xml and put it into notepad++ directory.
then in the program choose VDS from the language-menu. )
| Code: |
<NotepadPlus>
<UserLang name="VDS" ext="dsc">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="no" words2="yes" words3="yes" words4="yes" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">@"0("0</Keywords>
<Keywords name="Folder+">#+</Keywords>
<Keywords name="Folder-">#-</Keywords>
<Keywords name="Operators">) , @ =</Keywords>
<Keywords name="Comment">1 1 2 2 0rem 0#</Keywords>
<Keywords name="Words1">treeview
BEEP
BINFILE
BITMAP
BROWSER
CLIPBOARD
CONSOLE
COMM
DDE
DIALOG
DIRECTORY
ELSE
ELSIF
END
ERROR
EXIT
EXITWIN
EXTERNAL
FREELIB
FILE
FONT
GOSUB
GOTO
HOTKEY
HTMLHELP
ICOTOBMP
IF
IMAGE
INFO
INIFILE
KILLTASK
LINK
LIST
LOADLIB
OPTION
PARSE
PLAY
RANDOM
REGISTRY
REPEAT
RUN
RUNH
RUNM
RUNZ
SEEKFILE
SHELL
SHIFT
STOP
TASKBAR
TIMER
TITLE
TRACE
UNTIL
WAIT
WEND
WARN
WHILE
WINDOW
WINHELP
WRITE
WRITE
WRITELINE
XMLDOC</Keywords>
<Keywords name="Words2">$</Keywords>
<Keywords name="Words3">% #INCLUDE #DEFINE #RESOURCE</Keywords>
<Keywords name="Words4">:</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="0000FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFAA" fontName="Courier New" fontStyle="1" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFAA" fontName="Courier New" fontStyle="1" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="FF00FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="FF0000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="000080" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="000000" bgColor="D7FFD7" fontName="Courier New" fontStyle="0" fontSize="10" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF00FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="0000FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>
|
use #+ and #- for code-folding.
i hope you can enjoy like me.
marcus[/b] |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1456
|
Posted: Mon Oct 26, 2009 5:36 am Post subject: |
|
|
| I have not tried it yet, but thanks for putting in the hard work and making this!! |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1444 Location: Florida, USA
|
Posted: Mon Oct 26, 2009 12:08 pm Post subject: |
|
|
Why don't you like the VDS IDE? What features would you like it to have? Personally I don't really see the point of using a editor when you have access to an IDE that has been built to specifically support the language. I have used Notepad++ in the past but only when the Language I was using did not come with an IDE. Needless to say I don't use those languages any more. Also there are parts of the VDS IDE that is not that easy to automate like the project management parts. It's not impossible but would take more than just a few lines of code to write. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
bornsoft Valued Newbie
Joined: 19 Feb 2009 Posts: 39 Location: Germany
|
Posted: Mon Oct 26, 2009 3:45 pm Post subject: |
|
|
hey,
@vdsalchemist
this doesn't mean that i don't like the vds ide at all. but for some rasons i wanna have an additional editor.
For example if i copy parts from one project to another. any file i open in the ide gets automatically added to the current
project an is opened with it next time.
and i like the folding feature in notepad++ very much, also that thin lines are drawn for if/end and repeat/until.
greetz
marcus |
|
| Back to top |
|
 |
|