• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Macro Code Highlighting

hydro618

Member
Out of curiosity does the macro language have syntax highlighting available for any IDE's like VSCode?

I ask because I haven't found anything about there being one and I've started writing a syntax highlighter for VSCode itself.

Does this sound useful or am I doing this for my own benefit?

Picture for fun
1592405838850.png
 
There is a little funny here.

Honestly, I didn't know about "VS Code" until I read about it on this forum, this week.

Originally, I'd use "notepad" then progressed to "notepad2" (wiki) also used "notepad++" (wiki) a little bit.
Load up a document, e.g. .c, .java .html into notepad2, and it gets lots of color applied.

Give it a .mac, for these macro files and it looks back at you strangely. Treating it just like text with no meaning.




I've grabbed a copy of VS Code (from here) and regardless of its name, its feels lightweight and not the beast that expect waiting for visual studio to load.
Freshly installed it behaves just like notepad2. It knows of other files but hasn't ideas what to do with .mac.

Then as suggested on this forum applied the VS Code plugin to help it understand MQ2 macros. From this page (here). The page has a button for "install" as opposed "download".
It pops up a panel asking; "Launch Visual Studio Code", selected allow. The "vscodemq2" page is displayed inside VS Code, and clicked "install" again.

Now looking at the .mac files, they are full of color applied.

There appear to be a lot of features available that could be worth exploring in VS Code.

Thanks RG community for placing this product on my radar.
 
Question - Macro Code Highlighting

Users who are viewing this thread

Back
Top
Cart