zerasul / genesis-code Goto Github PK
View Code? Open in Web Editor NEWVisual Studio Code Genesis Development Extension
Home Page: https://marketplace.visualstudio.com/items?itemName=zerasul.genesis-code
License: MIT License
Visual Studio Code Genesis Development Extension
Home Page: https://marketplace.visualstudio.com/items?itemName=zerasul.genesis-code
License: MIT License
RES files also support comments, but Genesis Code doesn't colorize them. Would be nice if VSCode support this too!
Example
SPRITE ship_sprite "sprites.bmp" 6 8 FAST 6
# Background image
IMAGE background "background.bmp" FAST
Refactor code for use inheritance for each Os or ToolchainType.
Add MacOs Support using wine.
For more information please see:
Create a settings.json on the .vscode directory with the default include paths:
{
"C_Cpp.default.includePath": ["${env:GDK}\\inc",
"${env:GDK}\\res",
"res",
"inc"
]
}
I'm unable to load the Genesis Code extension. Version is 1.3.0 and my VSCode version details are:
Version: 1.50.0 (user setup)
Commit: 93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3
Date: 2020-10-07T06:10:52.432Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041
When attempting to run any Genesis Code command, I receive and error that the command isn't found. On startup, the dev console spits out this error and stack trace indicating a failure to activate the extension:
Activating extension 'Zerasul.genesis-code' failed: Cannot find module 'fast-xml-parser'
Require stack:
- c:\Users\mc\.vscode\extensions\zerasul.genesis-code-1.3.0\out\TmxParser.js
- c:\Users\mc\.vscode\extensions\zerasul.genesis-code-1.3.0\out\appModel.js
- c:\Users\mc\.vscode\extensions\zerasul.genesis-code-1.3.0\out\extension.js
- c:\Users\mc\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js
- c:\Users\mc\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js
- c:\Users\mc\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js.
I've tried uninstalling the extension, removing the installation files from my user directory .vscode/extensions folder, and reinstalling. Unfortunately it hasn't resolved the issue. So for some reason, the fast-xml-parser
NPM package either isn't being installed or isn't being detected.
Add roadmap section
after the release of SGDK 1.60, need to update the configuration and code of genesis code:
There is an typo error on the initial comment on main.c file when a new project is created.
Created With Genesis-Code for extension for Visual Studio Code
change to
Created With Genesis-Code extension for Visual Studio Code
Update the mocha vscode test for improve coverage.
Due to an error with the continuous integration engine, the sonarcloud status gateway show as failed. We need to create a new coverage report for use with sonarcloud.
add a debug linking to an emulator.
Thanks to Nekete tweet.
Add create project command for select a folder and create de minimal project structure.
Fix some code smells reported by sonar.
https://sonarcloud.io/project/issues?id=genesis-code-project&resolved=false&types=CODE_SMELL
Fix some sonar cloud smell codes:
https://sonarcloud.io/project/issues?id=genesis-code-project&resolved=false&types=CODE_SMELL
On macos Systems if you use Compile For debuging for the first time and you aren't execute other command, it fail becase there is no a copy of build.bat file.
Add run command for run the current rom with a Genesis Emulator (gens by default).
If the path where the rom is stored have space characters, the emulator fails at loading. This can be fixed adding the characters " at the init and at the end of the path.
Add a bitmap image viewer where you can see the image and the image used. This can be useful for create game resources for SGDK.
Due to azure pipelines macos image deprecation we need to upgrade the macos-10.13 image to macos-10.14 or later for the azure pipeline configuration
Fix a problem in MACOS that the command compile and run is not running the emulator in background.
Add support to TMX files for generate .h files with the tilemap information.
For more information about TMX format, see Tiled Map Generator tool
add marsdev toolchain compatibility
Add configuration in workspace for use custom makefile.
See https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide for use sintax highlight for .res files.
Update Génesis code for use with the new version if SGDK
add colour system to Genesis Code Console for show complation errors and warnings with colour.
Fix Azure Pipelines error when is publishing the SonarCloud Results.
Add the current project to CI (using Travis)
Add clean command for call make clean.
write changelog.md file content. For see it on the Marketplace page.
After the update for SGDK 1.51 there is new options for the rescomp tool. Update the code completion tool for get this changes.
Due to the lasts Pull Request, we need to upgrade the configuration for Azure Devops to use NodeJs 10.X.X or later.
Add a documentation about the extension; can be a wiki or a GH Page...
Configure SGDK folder per each workspace. Now it uses a Enviroment Variable called GDK. Can be useful configure the GDK variable per each workspace in vscode.
example:
set GDK=<mySGDKfolder>
%GDK%/bin/make -f %GDK%/makefile.gen
Use of docker with SGDK docker image.
add contributing.md file. With all the information with how to contribute to the project.
Add code completion help with SGDK files.
Resolve the Code Smells reported By Sonar.
https://sonarcloud.io/project/issues?id=genesis-code-project&resolved=false&types=CODE_SMELL
add an about genesis code dialog with information about the extension and some useful links, like:
Add the Compile & run command for compile the project and run in a emulator.
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS D:\dev\genesis\megapong> set GDK=D:\dev\genesis\tools\sgdk
PS D:\dev\genesis\megapong> %GDK%\bin\make -f %GDK%\makefile.gen
%GDK%\bin\make : The module '%GDK%' could not be loaded. For more information, run 'Import-Module %GDK%'.
At line:1 char:1
+ %GDK%\bin\make -f %GDK%\makefile.gen
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (%GDK%\bin\make:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoLoadModule
PS D:\dev\genesis\megapong>
I have correctly setup SGDK and have correct GDK and GDK_WIN variables and infact if I run the following command everything works fine.
cmd /C %GDK%\bin\make -f %GDK%\makefile.gen
I am using the latest Windows 10 Pro x64 and VSCode, Genesis Code is 1.3.1
Add Compile Command for all the Operating Systems (Windows and Linux).
Update Ci Node Js Version for 10.X for fix some pipeline errors
You can check documentation Repository:
https://github.com/zerasul/genesis-code-docs
For fix some typos or errors. This repository uses MKdocs and Python. Documentation Web page:
Due to MacOs Catalina only can use 64 bits executables, we need to update the extension for use only wine64 instalations.
add the debugger category in package.json
Create Initial Code and project structure
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.