Notifications
Clear all

[Closed] jumping to line in script editor by maxscript command

I work with long spagetti code and I was thinking to create a little service code
for main code as I always have to found it by scrolling code up or down.
I know it`s better to divide code on modules etc but
is it way to jump to specific line of code e.g in editor from maxscript it self, like by pressing button “jump to line in editor β€œ– this is the line of code I want jump to”.
Also is there easy fast way to remove all comments from code editor in one go?

2 Replies

The closest thing that I know of would be the Bookmarks. You add them to particular lines and the can jump between them.

Toggle Bookmark
Ctrl+F2

Next Bookmark
F2

Previous Bookmark
Shift+F2

Doc

Ctrl+G (or CTRL+J in early versions)