EDIT Apparently no need to install
Goandjsxextensions ton get the problem. Problem solved with excludingnode_modulesfolder explicitely with its full path injsconfig.json:
"exclude": [
"frontend/node_modules"
]
Still need to figure out why tsserver didn't warn about problem with that setup
-
Open
VSCode_issuefolder in VSCode -
Install extensions
Goandjsx:- Press F1
- Type ext
- Choose Install extension
- type Go choose
Goextension - Same thing for
jsxtyping React
-
Set
settings.jsonas follows :{ //GO "go.buildOnSave": true, "go.lintOnSave": true, "go.vetOnSave": true, "go.buildTags": "", "go.buildFlags": [], "go.lintFlags": [], "go.vetFlags": [], "go.coverOnSave": false, "go.useCodeSnippetsOnFunctionSuggest": false, "go.formatOnSave": true, "go.formatTool": "goreturns", "go.goroot": "/opt/go", "go.gopath": "/home/emile/dev/RMTool/go", "go.gocodeAutoBuild": false, //React / JS "javascript.validate.enable": false, "editor.tabSize": 2, "files.trimTrailingWhitespace": true, // Migrated from previous "File | Auto Save" setting: "files.autoSave": "onFocusChange" } -
Play with features (completion, navigation, etc.) in backend and frontend. Frontend should not work and a huge process should fire.
Note :
jsconfig.json&.eslintrchave been modified and are in the repository already
$ cd frontend
$ npm install
$ npm run dev
Run tests
npm run test
$ cd backend
$ go build
$ ./backend
Run tests
go test [-v]
