Coder Social home page Coder Social logo

c3-vscode-extension's People

Contributors

edwardbonnett avatar getechg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

c3-vscode-extension's Issues

Source for 1.0.7 ?

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!)

CONSTRUCT 3 TOOLS UPDATE DEFINITION REQUEST

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!!!

Typescript Definition Autogeneration doesn't work for C3 projects after the r309 update because Profect Files structure changed to add actual subfolders.

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.

Conflict with the constructor

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();
	}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.