Visual Studio Code

Probably asked a gazillion times. Is it possible to set VS Code to
run as Rhino’s Editor? Yupp, I tried RhinoCode and a few other things.
I can’t even get VS Code to import the modules “Rhino” or “rhinoscriptsyntax”
thx

MBP M1 Max
Sequoia 15.1
Rhino 8 Eval (8.12.24282.07002, 2024-10-08)
VS Code 1.95.2

Hi @jackshaftoe,

Just use the ScriptEditor built into Rhino.

– Dale

not sure if similar is possible on a mac:

topic above shows a windows solution,

Hi Dale,
it’s not that I didn’t try or it’s not open all the time. And
it’s clearly a huge step forward from the v7 editor _EditPythonScript (lol),
but apart from nuisances for my personal workflow like

  • no split editor window to have scripts side-by-side
  • missing functionality/keyboard shortcuts (e.g. select+comment out, breadcrumps bar)
  • the ever annoying modal window behavior in Rhino (as well as Grasshopper)
  • some other …

the mayor downside is no code-completion for my own methods and variables.

I’m not talking about fancy AI-Copilot stuff, just not writing my own variables over and over again.
Sry for getting to lengthy about that but Atom worked until it’s been sunsetted and having another editor feels a bit like reinventing the wheel.
Cheers

Thanks for that, got that working and give it a try.

what was the “todo” in VS Code on a mac - compared to the described windows setup ?

no difference, exactly what was described on the git-hub page:
https://github.com/ibois-epfl/script-sync

re code completion, it’s the other way round.
no completion for Rhino modules but completion for my own code.

@eirannejad - is this something you can help with?