GithubHelp home page GithubHelp logo

vscode-levels's Introduction

VSCode-Levels -- Syntax Highlighting for JavaScript

This is a Visual Studio Code extension for JavaScript scope-based syntax highlighting.

Features

It's great for identifying the scope of a variable at a glance.

nested-functions tooltips

It's also nice for detecting accidental re-use of the same identifier.

duplicate

Extension Settings

This extension contributes the following settings:

  • levels.colors: An array of colors to use in order of scope. The first element is implicit global scope, the second is explicit global scope, and subsequent colors are for nested scopes.

Release Notes

See CHANGELOG

vscode-levels's People

Contributors

azz avatar

Stargazers

Raul Melo avatar Cuvii avatar Jonas Luebbers avatar Linus Lee avatar Chehab AbdElHamed avatar Andy Cormack avatar Supakorn Warodom avatar Yevhenii Ponomar avatar elf Pavlik avatar Christian Grøngaard avatar Adam Howard avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

mfogleman

vscode-levels's Issues

"lucasazzola.vscode-levels": Line 1: Unexpected token.

[Extension Host] Activating extension lucasazzola.vscode-levels failed: Line 1: Unexpected token
d.logExtensionHostMessage @ extensionHost.ts:285
extensionHost.ts:285 [Extension Host] Here is the error stack: Error: Line 1: Unexpected token
at ErrorHandler.constructError (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\node_modules\esprima\dist\esprima.js:3396:22)
at ErrorHandler.createError (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\node_modules\esprima\dist\esprima.js:3414:27)
at Parser.unexpectedTokenError (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\node_modules\esprima\dist\esprima.js:542:39)
at Parser.tolerateUnexpectedToken (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\node_modules\esprima\dist\esprima.js:555:42)
at Parser.parseStatementListItem (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\node_modules\esprima\dist\esprima.js:1801:31)
at Parser.parseProgram (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\node_modules\esprima\dist\esprima.js:3061:29)
at Object.parse (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\node_modules\esprima\dist\esprima.js:117:24)
at sourceCodeToAst (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\out\src\extension.js:27:43)
at C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\node_modules\lodash\lodash.js:5157:35
at apply (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\out\src\extension.js:41:24)
at Array.forEach (native)
at activate (C:\Users\admin.vscode-insiders\extensions\lucasazzola.vscode-levels-0.1.1\out\src\extension.js:10:40)
at Function.t._callActivateOptional (c:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:373051)
at Function.t._callActivate (c:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:372836)
at c:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:372611
at Object.m [as _notify] (c:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:62432)

Fork or PR?

Hey @azz, I really like the idea of this extension, but it looks like it may have some issues and cob webs. I'd like to take a crack at getting it running, but I don't want to step on any toes. Are you actively maintaining / accepting PRs, or should I just fork?

VSCode 1.28-insider reports unresponsiveness

  • Extension Name: vscode-levels- Extension Version: 0.1.1- OS Version: Darwin x64 17.7.0- VSCode version: 1.28.0-insider We have written the needed data into your clipboard. Please paste:
{
	"activationTimes": {
		"startup": false,
		"codeLoadingTime": 110,
		"activateCallTime": 28,
		"activateResolvedTime": 0,
		"activationEvent": "onLanguage:javascript"
	},
	"runtimeErrors": [
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		}
	]
}

Since today's morning update, I see this:
screen shot 2018-09-14 at 8 02 53 am

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.