sgranade / choicescript_vscode Goto Github PK
View Code? Open in Web Editor NEWVS Code plugin for ChoiceScript development
License: MIT License
VS Code plugin for ChoiceScript development
License: MIT License
1. *temp check true
2.
3. *fake_choice
4. *if check = true
5. #Choice 1
6. You chose "Choice 1"
7. #Choice 2
8. You chose "Choice 2"
9. #Choice 3
10. You chose "Choice 3"
I've run this code without issue but:
At line 7, the error "Line is indented too far" is falsely detected
At line 9, the errors "Line is not indented far enough" and "An #option must only appear inside a *choice or *fake_choice (check that indention is correct)" are falsely detected
The same errors can be found when using *choice instead of *fake_choice despite the code running without issues:
1. *temp something true
2.
3. *choice
4. *if something = true
5. #Choice 1
6. You chose "Choice 1"
7. *goto label
8. #Choice 2
9. You chose "Choice 2"
10. *goto label
11. #Choice 3
12. You chose "Choice 3"
13. *goto label
14.
15. *label label
At line 8, the error "Line is indented too far" is falsely detected
At line 11, the errors "Line is not indented far enough" and "An #option must only appear inside a *choice or *fake_choice (check that indention is correct)" are falsely detected
At the moment games are launched in a separate browser window. My understanding is that many users like the ability to code and test side-by-side. I'll be exploring getting games to run in VS Code Web Views as an alternative.
This should be possible but it might make debugging with CDT (#31) challenging.
I'm investigating providing debug support for ChoiceScript in this extension, either through CDT, or direct support in ChoiceScript. The former wouldn't work in the web, so the latter is preferable.
Support would cover some subset of (in rough priority order):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.