Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test tour: MERN starter kit #22277

Closed
egamma opened this issue Mar 9, 2017 · 4 comments
Closed

Test tour: MERN starter kit #22277

egamma opened this issue Mar 9, 2017 · 4 comments
Assignees
Milestone

Comments

@egamma
Copy link
Member

egamma commented Mar 9, 2017

Test Tours/Exploratory Testing. We will use a starter kit and use it for a 'GuideBook Tour'. The final goal would be to show a cool demo of how you can use VS Code to do MEARN.

You have discovered the MERN starter kit http://mern.io/ and want to get started with it using Code

  • do you get the extension recommendations (e.g. eslint)?
  • set it up for development.
    • setup debugging
    • setup tasks if applicable
    • eslint is already setup, check the linting behaviour when using the vscode-eslint extension.
    • check Intellisense behaviour
  • start implement something fun
  • are there additional JSON schemas that should be defined/used to simplify development
  • check that all artifacts/file types have syntax coloring
  • think of demo of some of the VS Code goodness

Link issues you discover to this issue.
Share findings in this issue.

@egamma egamma added this to the March 2017 milestone Mar 9, 2017
@egamma egamma removed this from the March 2017 milestone Mar 28, 2017
@egamma
Copy link
Member Author

egamma commented Mar 30, 2017

@egamma egamma modified the milestone: April 2017 Apr 6, 2017
@michelkaporin
Copy link
Contributor

Extensions required to use MERN fully with VS Code

Tasks: npm support,
Linting: ESLint
Chrome Debug: Debugger for Chrome

Report

  • Extension recommendations include both of the extensions, however they are not at the top of the recommendation list. Maybe this can be improved?
  • eslint linting behaviour works well, no problems found with it. ✔️
  • Intellisense works fine. ✔️
  • No additional JSON schemas needs to be defined to simplify development, as to my mind. ✔️
  • Syntax colouring. ✔️

Some configuration examples

  • tasks.json can be setup with 'npm support' module and tasks work fine for test, watch and lint commands. Example:
{
    "taskName": "lint",
    "args": ["run", "lint"]
}
  • Chrome debug can be setup the following way:
{
    "name": "Launch localhost", 
    "type": "chrome",
    "request": "launch",
    "url": "http://localhost:8000",
    "webRoot": "${workspaceRoot}",
    "sourceMapPathOverrides": {
        "webpack:///*": "${webRoot}/*"
    }
},
{
    "name": "Attach localhost",
    "type": "chrome",
    "request": "attach",
    "port": 9222,
    "url": "http://localhost:8000",
    "sourceMaps": true,
    "webRoot": "${workspaceRoot}",
    "sourceMapPathOverrides": {
        "webpack:///*": "${webRoot}/*"
    }
}

@waderyan
Copy link

waderyan commented Apr 7, 2017

Issues referenced below.

Note - for the extension candidate issues, I opened this docs issue. We should see if we can make them more discoverable to extension authors.

@weinand
Copy link
Contributor

weinand commented May 9, 2017

A first cut of a "MERN Recipe" is available here: https://github.com/weinand/vscode-recipes/tree/master/MERN-Starter

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants