VS Code extension for javascript and typescript projects

4 favourites
From the Asset Store
5 levels with simple coding Source-code (.c3p) + HTML5 Exported
  • Hi all, I have created a Visual Studio Code extension which can be downloaded here:

    marketplace.visualstudio.com/items

    This features auto-completion for javascript projects, as well as generating typescript definitions based on your project (so you'll get behaviors, instance variables, global variables etc. all available). This includes typescript definitions for all currently exposed scripting interfaces and I'll try and keep these up to date.

    If you install the VS Code Plugin from the addon store and add it to your construct project you can also set up easier remote debugging and auto script reloading:

    construct.net/en/make-games/addons/603/vs-code-plugin

    If anyone just wants the basic typescript definitions without your own objects etc. in it then they're available here, you might need to update the behaviors of the IWorldInstance as I currrently only inject the relevant ones to new interfaces as required as part of the extension:

    github.com/EdwardBonnett/c3-vscode-extension/blob/main/templates/c3.d.ts

    There's a lot more details on the extension page, but I've never created a VS Code extension before and I'd love any feedback / suggestions for improvements.

    Thanks!

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • NIce work, going to check it out!

  • This is amazing, just what construct needed, having to constantly search in the documentation for the correct names for the construct classes is a pain, thank you so so much for making this, can't wait to try it out!

  • Haematite Great job - slight problem my vscode project is stuck at connecting I assume to the c3 project, despite generating a debug profile - have I done something very basic wrong?

  • I had the following problems with the plug-in:/nError report information/nType: unhandled rejection/nReason: Error: this.FakeWake is not a function TypeError: this.FakeWake is not a function at MyCustomInstance.OnCreate (blob:https://editor.construct.net/0e8e564a-bc72-4550-9ea8-a594571a05e4:18:18) at ms.dEb.Yd (https://editor.construct.net/r269/main.js:1924:146) at d.Yd (https://editor.construct.net/r269/projectResources.js:686:401) at d.Jhc (https://editor.construct.net/r269/projectResources.js:586:462) at window.lvb.hu (https://editor.construct.net/r269/main.js:1875:353) at editor.construct.net/r269/projectResources.js:2479:403/nStack: TypeError: this.FakeWake is not a function at MyCustomInstance.OnCreate (blob:https://editor.construct.net/0e8e564a-bc72-4550-9ea8-a594571a05e4:18:18) at ms.dEb.Yd (https://editor.construct.net/r269/main.js:1924:146) at d.Yd (https://editor.construct.net/r269/projectResources.js:686:401) at d.Jhc (https://editor.construct.net/r269/projectResources.js:586:462) at window.lvb.hu (https://editor.construct.net/r269/main.js:1875:353) at editor.construct.net/r269/projectResources.js:2479:403/nConstruct 3 version: r269/nURL: editor.construct.net/r269//nDate: Wed Nov 03202115:21:25 GMT + 0800(China standard time)/nUptime: 336.1 s/n/nPlatform information/nBrowser: Chrome/nBrowser version: 88.0.4324.104/nBrowser engine: Chromium/nContext: browser/nOperating system: Windows/nOperating system version: 10/nDevice type: desktop/nDevice pixel ratio: 1/nLogical CPU cores: 4/nApprox. device memory: 8 GB/nUser agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36/nC3 release: r269 (beta)/nLanguage setting: zh-CN/n/nWebGL information/nVersion string: WebGL 2.0 (OpenGL ES 3.0 Chromium)/nNumeric version: 2/nSupports NPOT textures: yes/nSupports GPU profiling: yes/nSupports highp precision: yes/nVendor: Google Inc./nRenderer: ANGLE (NVIDIA GeForce GT 730 Direct3D11 vs_5_0 ps_5_0)/nMajor performance caveat: no/nMaximum texture size: 16384/nPoint size range: 1 to 1024/nExtensions: EXT_color_buffer_float, EXT_color_buffer_half_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_compression_bptc, EXT_texture_compression_rgtc, EXT_texture_filter_anisotropic, EXT_texture_norm16, KHR_parallel_shader_compile, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context, WEBGL_multi_draw, OVR_multiview2

  • Pinbak In order to connect to Construct you'll need to make sure you add the vscode addon to your project: construct.net/en/make-games/addons/603/vs-code-plugin

    If you just want the code autocomplete you can just ignore the code message though.

    The addon was broken (thanks to chunchun for pointing that out!) so you may need to update it to the new version. Let me know if you're still having issues though

  • Haematite Great it now connects thanks! However, it still doesn't generate the definition file which means there is no intellisense for the objects, despite regenerating definitions manually. Is there something I'm missing?

  • Pinbak In order to connect to Construct you'll need to make sure you add the vscode addon to your project: construct.net/en/make-games/addons/603/vs-code-plugin

    If you just want the code autocomplete you can just ignore the code message though.

    The addon was broken (thanks to chunchun for pointing that out!) so you may need to update it to the new version. Let me know if you're still having issues though

    Thank you for your effort! The plugin is great!

  • Pinbak How strange, so there's no c3.d.ts file in the root of your project?

    Are you able to take a look in the "Log (Extension Host)" output in vscode and see if there's any errors coming up when you're generating?

    I've just retried on a few projects and it seems to be generating ok for me so I'm thinking it must be a certain object / instance variable name it's struggling with. If you're ok with sharing, a list of your object names might be useful too - in case it is that.

    Really appreciate your help on this!

  • Haematite Yeah I was just testing on essentially an empty project with a sprite and the vscodeplugin:

    When I open vscode it connects to C3 all fine but gets stuck at generating definitions:

    It generates a few files though:

    I have a feeling its my connection to the internet, as I'm on university's ISP and when I try on my other computer I get the same problem. This is the output log on extension but there are no blatant errors:

    [2021-11-04 09:12:48.430] [exthost] [info] extension host started [2021-11-04 09:12:48.431] [exthost] [info] Skipping acquiring lock for c:\Users\Pinball\AppData\Roaming\Code\User\workspaceStorage\cf6d51b7912fa01beaf41625fba83d13. [2021-11-04 09:12:48.543] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:12:48.543] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:12:48.554] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:12:48.554] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:12:48.558] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:12:48.558] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:12:48.574] [exthost] [info] ExtensionService#_doActivateExtension EdwardBonnett.c3-vscode-extension, startup: true, activationEvent: 'workspaceContains:project.c3proj' [2021-11-04 09:12:48.574] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/.vscode/extensions/edwardbonnett.c3-vscode-extension-1.0.5/out/extension.js [2021-11-04 09:12:49.334] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:12:49.335] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:12:49.474] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:12:49.474] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:12:49.551] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:12:49.551] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:12:49.560] [exthost] [info] eager extensions activated [2021-11-04 09:12:49.567] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:12:49.567] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:12:49.577] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:12:49.577] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:12:49.582] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:12:49.582] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js [2021-11-04 09:13:21.693] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:javascript' [2021-11-04 09:13:21.693] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/typescript-language-features/dist/extension [2021-11-04 09:15:30.352] [exthost] [info] extension host terminating: renderer closed the socket [2021-11-04 09:15:31.374] [exthost] [info] exiting with code 0 [2021-11-04 09:15:31.898] [exthost] [info] extension host started [2021-11-04 09:15:31.979] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:15:31.979] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:15:31.991] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:15:31.991] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:15:31.994] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:15:31.995] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:15:32.220] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:15:32.221] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:15:32.341] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:15:32.341] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:15:32.442] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:15:32.442] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:15:32.453] [exthost] [info] eager extensions activated [2021-11-04 09:15:32.456] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:15:32.456] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:15:32.462] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:15:32.462] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:15:32.465] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:15:32.466] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js [2021-11-04 09:16:42.039] [exthost] [info] extension host terminating: renderer closed the socket [2021-11-04 09:16:43.046] [exthost] [info] exiting with code 0 [2021-11-04 09:16:43.697] [exthost] [info] extension host started [2021-11-04 09:16:43.698] [exthost] [info] Skipping acquiring lock for c:\Users\Pinball\AppData\Roaming\Code\User\workspaceStorage\cf6d51b7912fa01beaf41625fba83d13. [2021-11-04 09:16:43.932] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:16:43.932] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:16:43.943] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:javascript' [2021-11-04 09:16:43.943] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/typescript-language-features/dist/extension [2021-11-04 09:16:43.954] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:16:43.954] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:16:43.958] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:16:43.958] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:16:43.976] [exthost] [info] ExtensionService#_doActivateExtension EdwardBonnett.c3-vscode-extension, startup: true, activationEvent: 'workspaceContains:project.c3proj' [2021-11-04 09:16:43.976] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/.vscode/extensions/edwardbonnett.c3-vscode-extension-1.0.5/out/extension.js [2021-11-04 09:16:44.918] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:16:44.918] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:16:45.067] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:16:45.067] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:16:45.241] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:16:45.241] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:16:45.248] [exthost] [info] eager extensions activated [2021-11-04 09:16:45.252] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:16:45.252] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:16:45.259] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:16:45.259] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:16:45.262] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:16:45.263] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js [2021-11-04 09:17:13.152] [exthost] [info] extension host terminating: renderer closed the socket [2021-11-04 09:17:14.171] [exthost] [info] exiting with code 0 [2021-11-04 09:17:14.624] [exthost] [info] extension host started [2021-11-04 09:17:14.785] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:17:14.785] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:17:14.795] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:17:14.795] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:17:14.798] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:17:14.798] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:17:14.893] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:17:14.893] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:17:15.016] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:17:15.017] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:17:15.120] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:17:15.120] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:17:15.128] [exthost] [info] eager extensions activated [2021-11-04 09:17:15.131] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:17:15.131] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:17:15.138] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:17:15.138] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:17:15.141] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:17:15.141] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js [2021-11-04 09:19:07.094] [exthost] [info] extension host terminating: renderer closed the socket [2021-11-04 09:19:08.104] [exthost] [info] exiting with code 0 [2021-11-04 09:19:08.739] [exthost] [info] extension host started [2021-11-04 09:19:08.740] [exthost] [info] Skipping acquiring lock for c:\Users\Pinball\AppData\Roaming\Code\User\workspaceStorage\cf6d51b7912fa01beaf41625fba83d13. [2021-11-04 09:19:08.943] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:19:08.943] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:19:08.953] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:javascript' [2021-11-04 09:19:08.953] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/typescript-language-features/dist/extension [2021-11-04 09:19:08.964] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:19:08.964] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:19:08.967] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:19:08.967] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:19:08.983] [exthost] [info] ExtensionService#_doActivateExtension EdwardBonnett.c3-vscode-extension, startup: true, activationEvent: 'workspaceContains:project.c3proj' [2021-11-04 09:19:08.983] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/.vscode/extensions/edwardbonnett.c3-vscode-extension-1.0.5/out/extension.js [2021-11-04 09:19:09.745] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:19:09.745] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:19:09.849] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:19:09.849] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:19:09.869] [exthost] [info] eager extensions activated [2021-11-04 09:19:09.877] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:19:09.877] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:19:09.891] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:19:09.891] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:19:09.897] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:19:09.897] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:19:09.901] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:19:09.901] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js

  • Pinbak How strange, so there's no c3.d.ts file in the root of your project?

    Are you able to take a look in the "Log (Extension Host)" output in vscode and see if there's any errors coming up when you're generating?

    I've just retried on a few projects and it seems to be generating ok for me so I'm thinking it must be a certain object / instance variable name it's struggling with. If you're ok with sharing, a list of your object names might be useful too - in case it is that.

    Really appreciate your help on this!

    The same thing happened to me~

  • chunchunPinbak Think I've just managed to sort this. I was assuming that the eventSheets and families folders existed and it was failing. If you update to the newest version of the vscode extension then it's hopefully fixed. Let me know if you're still having issues! Thanks both for testing this

    It should auto update to v1.0.6:

    But I think you can do it manually too marketplace.visualstudio.com/items

  • Haematite Yeah all working fine now. Such a useful tool so thanks for developing it.

  • chunchunPinbak Think I've just managed to sort this. I was assuming that the eventSheets and families folders existed and it was failing. If you update to the newest version of the vscode extension then it's hopefully fixed. Let me know if you're still having issues! Thanks both for testing this

    It should auto update to v1.0.6:

    But I think you can do it manually too marketplace.visualstudio.com/items

    It’s all right now! ! ! Thank you

  • Great! Let me know if you encounter any other issues or think of any improvement!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)