MarkMurphy
329aceb079
Merge remote-tracking branch 'upstream/master' into markmurphy/issue-2923
2013-03-11 10:12:44 -03:00
Peter Flynn
821b7b2e19
Move status bar code out of EditorManager into a new module. Keeps
...
EditorManager tightly focused on maintaining the set of Editors and gives
the status bar code room to grow for future UI additions.
This removes EditorManager._init() and the manual calls to it from unit
tests, which seem unnecessary. EditorStatusBar._init() is still called on
htmlReady - just not manually called by any unit tests.
Also, change the status bar code to use active editor more consistently
(used to use focused editor sometimes).
2013-03-06 20:09:50 -08:00
Mark Murphy
30e9ca54c1
renamed "getLanguageFromPath" to "getLanguageForPath"
2013-03-06 22:01:24 -04:00
Ian Wehrman
52f3d5a251
Only provide hints for JavaScript files (and not JavaScript within HTML files), and cleanup stale session objects when switching to non-hintable files.
2013-03-06 13:04:16 -08:00
Mark Murphy
f9d9c2f64e
Refactoring "getLanguageFromFilePath" to "getLanguageFromPath". Reverted language.name back to language._name
...
Removed typescript and makefile declarations from languages.json. Will save for a later pull-request.
2013-03-04 21:12:47 -04:00
Mark Murphy
6fee2100fe
Fixing issue #2923 - Getting mode from file extension won't always work
2013-03-03 12:03:37 -04:00
Dennis Kehrig
8793b2afbc
Language now encapsulates its properties and makes them accessible exclusively through getters and setters
...
Adjust the unit tests accordingly
Added documentation to Language's properties
Refined the comment about our special HTML MIME mode
Renamed fileExtensionsToLanguageMap to fileExtensionToLanguageMap
2013-02-27 18:46:22 +01:00
Peter Flynn
5a026ec9ff
Update JS code hints (including unit tests) to work with new language and
...
Editor APIs.
2013-02-26 15:45:23 -08:00
Joel Brandt
1f1d074180
more doc fixups
2013-02-26 09:53:54 -08:00
Joel Brandt
bc8d9d8e2a
more fixes to jsdocs
2013-02-26 06:16:30 -08:00
Ian Wehrman
c8b53c7153
type capitalization typos and additional JSDoc annotations
2013-02-25 17:53:00 -08:00
Ian Wehrman
3d66c59b7e
Typos and clarifications
2013-02-24 12:51:01 -08:00
Ian Wehrman
c0e75bcc7e
Add remaining JSDoc annotations
2013-02-24 12:45:58 -08:00
Ian Wehrman
91487e3a6a
Address more suggestions and bugs from @rlim's code review.
2013-02-21 15:43:55 -08:00
Ian Wehrman
1c52d2eeaf
Use a binary instead of a linear search in findChild and containsPositionImmediate
2013-02-21 15:42:18 -08:00
Ian Wehrman
eb85fb6831
Make Scope.member constant-time instead of linear in the number of declarations.
2013-02-21 11:01:22 -08:00
Ian Wehrman
27b7dce115
Address initial comments and suggestions from code review by @rlim.
2013-02-21 11:01:14 -08:00
Ian Wehrman
9c371fc518
Add built-in global objects, and a TODO to also add built-in global properties and associations.
2013-02-15 14:03:27 -08:00
Ian Wehrman
f7b3ea19dd
Limit the hinter to files not greater than about 1MB, and only parse the first 100 files in the directory.
2013-02-15 11:30:03 -08:00
Ian Wehrman
f5f8953c83
Save and restore the globally defined "define" function, as per the suggestion by @joelrbrandt.
2013-02-14 17:12:27 -08:00
Ian Wehrman
786cd23bce
Add the JS code hinter as a default extension.
2013-02-14 15:59:12 -08:00