JavaScript Oldies for Visual Studio Code
Do you have to code with old technologies like AMD, Grunt, JSHint or Karma? Do you have to document with JSDoc? Don't despair, you will still be able to use the modern VS Code efficiently :-) Check out the great extensions below:
InstallationInstall this extension to your Visual Studio Code from the marketplace, or download a specific version of a released package and install it from the file. Debugger for ChromeDebug an application or Karma tests that run in the browser. Just add a launcher, place breakpoints and hit F5. It will not work right away - you will need to reload the debugging session by clicking on the green circling arrow once the test finish, so that the breakpoints get hit. Enable just the tests that you want to debug (by using See also the marketplace page. Document ThisPlace the cursor on the name of a class or function and hit See also the marketplace page. Fold on OpenBe rid of the endless scrolling over the "green lines", when you want to inspect the code. Collapse all block comments automatically, when you open a source file. See also the marketplace page. JSDoc Live PreviewIf you bind the keys See also the marketplace page. JSHintMake sure that you install See also the marketplace page. Karma Problem MatchersObserve the failed tests in the Problems window. Select the problem matcher for your test framework, reporter and browser in your task running Karma. Also, if breakpoints do not get hit during debugging, make sure that you selected the proper problem matcher. If you see an animation waiting for the pre-launch task to finish, the expected text pattern in the terminal was not detected. See also the marketplace page. Require Module SupportJump to the module where the selected class or function is declared. Configure the See also the marketplace page. TODO TreeIf you still hope that the management will care about fixing the lots of See also the marketplace page. LicenseCopyright (c) 2020 Ferdinand Prantl Licensed under the MIT license. The logo was based on an original icon published by Chamestudio Pvt Ltd under the Creative Commons Attribution 3.0 Unported (CC BY 3.0) license. Thank you! |