edwardbonnett / c3-vscode-extension Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello,
First thank you for your work on this extension and its companion addon, very useful to dev in a sane environment ;)
I noticed that the extension currently on VSCode Marketplace is ahead of what's on your repo. Is it possible to push your changes ? I'm thinking of maybe adding a couple of features as I work more with this extension. (and if you need help maintaining it, I'd be glad to!)
Hi
Recently, a number of apis for behavior and plug-ins have been added in construct3. Do you have time to add a new definition for the VSCODE plugin?
Thank you so much!
The plug-in is great!!!
Construct 3 recently pushed an update that changed how Project Files are saved.
https://www.construct.net/fr/make-games/releases/beta/r309
The change to the project file format is that subfolders in the Project Bar are now represented with real subfolders in the project files.
So if I put an Obejct PlayerSprite in the subfolder "Entities" in My Projet Bar. It would be the case in my actual project files too.
As opposed to how it worked before : before r309 all the objectTypes were put under the root folder "objectTypes" no matter if they were put in subfolders inside the C3 Editor Project Bar.
(C3 calls previous way to handle stuff as "Flat mode" and the new one as "Folders mode" : Folders mode is now how all projects files saved after the r309 update are handled, you can't disable it)
Because of this change. As soon as a ObjectType or a Family is put in a subfolder in the project bar, the Typescript Definition Autogeneration doesn't work anymore at all. It writes the message "
It's because now it should look for all the files put in all subfolders of the "objectTypes" folder and not only files at the root of this folder.
Same logic applies for "families" for example.
I haven't been writing in typescript very long, but it should be so that it shades the main class.
declare var ISpriteInstance: undefined | { new(): ISpriteInstance };
And it gives a warning
Type '(new () => ISpriteInstance) | undefined' is not a constructor function type.ts(2507)
If so, how do I inherit from a class and get static fields for example.
class PlayerInstance extends ISpriteInstance
{
constructor()
{
super();
}
}
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.