javascript.tmbundle icon indicating copy to clipboard operation
javascript.tmbundle copied to clipboard

TextMate support for JavaScript

Results 11 javascript.tmbundle issues
Sort by recently updated
recently updated
newest added

Code that I'm using (from Stimulus homepage) ``` // hello_controller.js import { Controller } from "stimulus" export default class extends Controller { static targets = [ "name", "output" ] greet()...

Apologies up front; this is a large PR with lots of disparate changes. If some of this stuff isn’t wanted, I’m happy to submit another PR with only the consensus...

Title says it all. ![image](https://cloud.githubusercontent.com/assets/351038/17512527/90e52dac-5e28-11e6-8a0a-62ad045c76fe.png)

![image](https://user-images.githubusercontent.com/4593204/68760392-c4074480-0637-11ea-9f2d-9aec340c47e8.png) The `if` keyword is not being highlighted if it is immediately followed by an open parenthesis.

```javascript export default { func1(param1) { return param1 }, func2( param2 ){ return param2 } } ```

code example: ```javascript var example = function(a1) { var $class = 'unfunc'; var $count = parseInt('1', 10) + parseInt (a1, 10); if(isNaN($count)) { $count = new Number(1); } if (isNaN...

Also: properly highlight constants like `null` and `false` when they are default values of parameters. Before: After: I borrowed portions of these patterns from this [JavaScript (Babel) language definition](https://github.com/gandm/language-babel/blob/master/grammars/Babel%20Language.json) for...

Maybe instead of implementing ES6 features one by one we should just take a grammar that already has it all like https://github.com/gandm/language-babel/blob/master/grammars/Babel%20Language.json ? It has an MIT license, so I...

Issue #3 added support for docblocks, but only a list of hardcoded tags from JSDocs. Since JSDocs allows defining custom tags, it would be great to support a tag highlighting,...