Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/captainbrosset/icanhasjavascript
Sublime Text 2 plugin for JavaScript code assist
https://github.com/captainbrosset/icanhasjavascript
Last synced: about 1 month ago
JSON representation
Sublime Text 2 plugin for JavaScript code assist
- Host: GitHub
- URL: https://github.com/captainbrosset/icanhasjavascript
- Owner: captainbrosset
- Created: 2012-02-29T23:37:56.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-03-05T09:00:56.000Z (almost 13 years ago)
- Last Synced: 2023-03-15T13:45:39.478Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 133 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is supposed to be a simple code assist plugin for SublimeText2.
The way it is intended to work for now is by scanning all javascript files in the current project, and building a model out of the functions, variables and classes so as to propose them through the contextual menu when editing javascript files.
(Note that for now it only finds out global functions and variables, it might be worth the try indexing just everything, even object properties).It is not intended to be a code assist tool that knows the type of variable you are currently accessing so as to provide contextual suggestions, but rather just as a tool to speed up typing and making it less error prone.
This is inspired by how the current SublimeText2 code assist works inside a given file, it simply proposes all words typed so far, and even if this is not really code completion as we might know it, it is pretty darn useful!
There are probably other (better) attempts at doing this (see https://github.com/Kronuz/SublimeCodeIntel), but I don't care, this is worth the try anyway.