Is there a Notepad++ language definition floating around written for Centroid (user-defined language)? I'm using my own which I am making up as I go, but would willingly comply to a written format. For example, for "Folding Code" I am using ;{ as open and ;} as close (curly brackets borrowed from C++ convention). See attached. Anyone? Anyone? Buhler?
Open
Closed
Notepad++ User-Defined Centroid Language
Moderator: cnckeith
-
- Posts: 15
- Joined: Sat Feb 09, 2019 10:13 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Monroe Michigan USA
Notepad++ User-Defined Centroid Language
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 109
- Joined: Mon Jan 15, 2018 1:11 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900712
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad++ User-Defined Centroid Language
For gcode or PLC code?
For centroid gcode, i'll have a vscode extension out today that will do hover help, code completion, syntax highlighting, etc.
I'm just putting the finishing touches on it now.
For centroid PLC code, i already released one
notepad++ is a nice editor but it's hard to make good syntax highlighters for it with the capability they offer.
(i have a gcode user defined language but it's only okay)
For centroid gcode, i'll have a vscode extension out today that will do hover help, code completion, syntax highlighting, etc.
I'm just putting the finishing touches on it now.
For centroid PLC code, i already released one

notepad++ is a nice editor but it's hard to make good syntax highlighters for it with the capability they offer.
(i have a gcode user defined language but it's only okay)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 15
- Joined: Sat Feb 09, 2019 10:13 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Monroe Michigan USA
Re: Notepad++ User-Defined Centroid Language
For gcode/macros. I saw your other post, great job although I'm not to the PLC customizing stage in my usage. I'd be all for abandoning Notepad++ if something better comes along! Get to writing that VS extension!

Update: I see now that you already released the extension. Thanks! I look forward to the switch from NP++!


Update: I see now that you already released the extension. Thanks! I look forward to the switch from NP++!
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 109
- Joined: Mon Jan 15, 2018 1:11 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900712
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad++ User-Defined Centroid Language
I just released it to the store.
I can add folding/outlining past what is there if you want.
What do you fold?
M3/M5 blocks?
I can add folding/outlining past what is there if you want.
What do you fold?
M3/M5 blocks?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 15
- Joined: Sat Feb 09, 2019 10:13 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Monroe Michigan USA
Re: Notepad++ User-Defined Centroid Language
Ive always folded gcode at tool changes, but thats just me.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 109
- Joined: Mon Jan 15, 2018 1:11 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900712
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad++ User-Defined Centroid Language
I can certainly do that.
Technically, only the M6 is modal, but we can do whatever we want
The next version will also tell you what the active gcode modes are in hovers.
Technically, only the M6 is modal, but we can do whatever we want

The next version will also tell you what the active gcode modes are in hovers.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)