Intellisense / Autocompletion in Code Tab

Hi there,

I’d like to suggest a feature that could significantly improve the coding experience in NetLogo: intellisense/autocompletion in the Code tab.

Features that would be incredibly useful include:

  • Autocompletion for NetLogo primitives and custom procedures
  • Parameter hints for built-in commands and reporters
  • Real-time syntax suggestions and error highlighting
  • Hover tooltips with brief descriptions or links to documentation

This would be especially helpful for beginners learning the language, as well as for more advanced users working on larger models or using extensions. Even basic autocomplete support would make a big difference in usability and development speed.

It would also be great to have a VS Code extension offering similar functionality. I hope to work on something like this in the future.

Thanks for your time and for all the work on NetLogo 7!

Hi,

Maybe you can try this demo https://netlogo-mobile.github.io/CodeMirror-NetLogo/ which should have most features you requested :slight_smile:

1 Like

Great project, @john-chen! Looking forward to seeing it in action soon!

Hi Daniel!

Unfortunately, the feature is only planned for NetLogo Web as of now. We are under resource constraints that prevent us from implementing many great ideas. If you are interested in bringing this to NetLogo Desktop as well (or working on any of your suggestions), it would be the best way to see them happen sooner. Alternatively, donating to us is also a great idea :slight_smile:

1 Like