r-koubou/vscode-ksp

FEATURE - User Defined Functions

sha-one opened this issue · 1 comments

Nice work with the plugin @r-koubou :)

We're considering moving some of our KSP dev over into VSCode...
The main thing I see missing right now is the ability to to create user defined functions, like this:

https://nilsliberg.se/ksp/
https://nilsliberg.se/ksp/using_functions.html

Is this something you plan to add at some point?

Thanks
Sean

Hello @sha-one ,

Currently I have no plan soon but i might support someday if it got many requests.

if you need a user defined function ASAP, please consider using to other following softwares

  • C preprocessor (e.g. mcpp)
  • KScript / SublimeKSP
  • etc

I have thought about extened syntax since begining develop. (Of course I have known that KScipt / SublimeKSP supports extended syntax. )

Reason for not supporting extended syntax like KScript, and SublimeKSP

  • it will lost compatible with pure KSP language spesification
  • Script have to requires external parser / convertnig software anytime
  • It has already implemented in KScript / SublimeKSP
  • etc

Thanks