Commit Graph
420 Commits
Author SHA1 Message Date
Jeff Booher af55f97b93 Implement Splitview 2014-08-29 13:05:49 -07:00
Larz e223a538f7 Fixed missed JS hint styling based on mackenza's feedback. 2014-08-14 20:21:10 -07:00
Larz 0c26073b37 Missed dark JS Code Hint colors. 2014-08-12 21:33:10 -07:00
Randy Edmunds 09bb313761 Merge pull request #8703 from adobe/dangoor/8646-exclude-node-modules
Exclude `node_modules` by default from JS Code Hints.
2014-08-11 13:45:26 -07:00
Kevin Dangoor 8924c32b5e Comment fixes 2014-08-11 11:56:19 -04:00
Kevin Dangoor dfa25b4483 Exclude node_modules by default from JS Code Hints.
See #8646.

This can be overridden by adding a .jscodehints file and setting
excluded-directories in there.
2014-08-08 11:02:35 -04:00
Kevin Dangoor e17f08438a Merge pull request #8476 from adobe/randy/issue-7706
Add pref to prevent js code hints on dot
2014-08-07 11:38:39 -04:00
Jeff Booher 90398b4f60 Merge pull request #8444 from adobe/pflynn/language-switcher-improvements
Language switcher: connect to prefs & clean up some code
2014-08-06 14:38:24 -07:00
Randy Edmunds 550a9acb97 add test for jscodehints.noHintsOnDot pref 2014-08-06 13:46:05 -07:00
Randy Edmunds 06cae4c0d9 Merge remote-tracking branch 'origin/master' into randy/issue-7706 2014-08-06 11:11:47 -07:00
Peter Flynn ba1427c00c Fix language switcher persistence to work when no custom file extension
mappings are set yet - don't leave default value of pref undefined.

Clarify two other cases of definePreference() calls where we really *do*
want the default value to be undefined by passing it explicitly.

Also: add TODOs for unused Session arg in JS code hints.
2014-08-05 23:38:04 -07:00
Peter Flynn 23a3e91eb5 Code review fixes:
* Use .hasClass() instead of .is() where possible
* More succinct math operators in DropdownEventHandler._tryToSelect()
* Document language-change events
* Improve some more JS code hints docs
2014-08-05 02:45:45 -07:00
Randy Edmunds 27f65db933 restore max line count 2014-07-25 09:20:00 -07:00
Kevin Dangoor b53831c102 Merge pull request #8460 from adobe/randy/increase-tern-timeout
Increase tern timeout
2014-07-21 10:10:41 -04:00
Randy Edmunds e43a49f576 add pref to prevent js code hints on dot 2014-07-20 14:24:01 -07:00
Randy Edmunds 2ab6dff333 Merge pull request #8272 from adobe/rlim/code-hints-pref
Simple code hints preferences to enable/disable individual/all code hints providers.
2014-07-19 09:43:43 -07:00
RaymondLim 07f241b815 Making some changes for review feedbacks. 2014-07-18 15:04:53 -07:00
Randy Edmunds f4a5967dda increase tern timeout 2014-07-18 11:45:40 -07:00
Peter Flynn cc4704350a Cleanups to status bar language-switcher:
* Make LanguageManager the official public API that is used to set per-file
overrides, rather than proxying through Document objects - remove Document.setLanguageOverride()
* Clear path overrides when switching projects, so it's more obvious that
it's not something that gets persisted across sessions
* Simplify how JS Code Hints listen for language updates: remove dependency
on "currentDocumentLanguageChanged" event; remove unneeded extra 'if' tests
2014-07-17 14:12:46 -07:00
Kevin Dangoor 9981abf8a0 Merge branch 'adobe-randy/jscodehints-exclusions-prefs' 2014-07-16 16:07:52 -04:00
RaymondLim 1e4d8e135a Explicitly control JS Hints provider with preferences for performance improvement. 2014-07-15 21:57:40 -07:00
Randy Edmunds f13b271e05 remove defaultExclusions preference 2014-07-15 19:35:12 -07:00
Peter Flynn dce3176aba Merge remote-tracking branch 'origin/master' into pflynn/JakeStoeffler-languageselector-updated
* origin/master: (66 commits)
  updating 'Last translated' SHA to reflect last pull request
  Use XML highlighting for .xaml files
  Wordsmithing (@njx)
  Update Getting Started (How to change the project, why?)
  Update CM to the latest
  Easier notation
  Revert change to non-translation file
  Change Copyright year in strings.js
  Updated by ALF automation.
  Update Sha
  German translation (Sprint 41)
  modalbar already showing, adjust for old height
  Fixes after Review
  Tweak the Command constant for the new command which doesn't appear on the file menu.
  alf updates for release branch
  Changes after review.
  Small fixes
  Spanish translations for Release 0.41
  Updated by ALF automation.
  isolated fix for changing height of modal bar with filter picker
  ...
2014-07-10 15:43:34 -07:00
Randy Edmunds 71a6dfc069 remember files that timed out in tern 2014-06-27 10:50:21 -07:00
Arzhan Kinzhalin 6f4db4bf65 Fix editor change when the last editor is closed. 2014-06-20 13:14:08 -03:00
Arzhan "kai" Kinzhalin 5701d5c927 Handler inline editor's language changed correctly. 2014-06-19 17:09:32 -03:00
Kevin Dangoor 0d3603e627 Merge pull request #8155 from adobe/randy/update-tern
JS Code Hints Crash Preventer
2014-06-19 15:21:21 -04:00
Kevin Dangoor 51939a5824 Update Acorn to 0.6.0 2014-06-19 14:38:59 -04:00
Arzhan "kai" Kinzhalin 3df7680560 Merge remote-tracking branch 'upstream/master' into pflynn/JakeStoeffler-languageselector-updated
Conflicts:
	src/styles/brackets_patterns_override.less
2014-06-19 15:25:08 -03:00
Kevin Dangoor dd7c53ad82 Adds jscodehints.inferenceTimeout preference 2014-06-19 13:42:30 -04:00
Randy Edmunds 9552ae8af7 Fix test for new DOM values 2014-06-18 16:22:58 -07:00
Randy Edmunds 239d003223 fix error when checking for exclusions 2014-06-17 18:04:35 -07:00
Randy Edmunds 7da2d62a83 Update Tern; implement timeout 2014-06-17 14:53:13 -07:00
Kevin Dangoor 67fb320f17 fix linting (JShint) problem 2014-05-05 13:18:57 -04:00
Kevin Dangoor 45a9b6fc07 Switch to glob for defaultExclusions, per review feedback. 2014-05-05 08:26:51 -04:00
Kevin Dangoor d8f4bbf465 Implement jscodehints.defaultExclusions preference.
We've had a number of people report problems with Ionic in their projects.
Tern appears to have an issue with the minified Ionic files. I had planned
to add default exclusions so that we could quickly solve pain like this
and this problem appeared to be a good candidate. The repro steps
[reported here](https://github.com/adobe/brackets/issues/7262#issuecomment-41851396)
are fixed with this change.
2014-05-02 22:49:45 -04:00
Arzhan Kinzhalin 0ed7853c9f Merge remote-tracking branch 'upstream/master' into pflynn/JakeStoeffler-languageselector-updated 2014-05-02 11:17:32 -03:00
Arzhan Kinzhalin 33a9a4757c Address review comments. 2014-05-01 12:07:49 -03:00
Kevin Dangoor c55a530d3b Add comment with link to #7646 2014-04-29 09:45:11 -04:00
Kevin Dangoor 9a8647e67d Turn off test temporarily 2014-04-29 09:40:08 -04:00
Arzhan Kinzhalin 331ccd3527 Merge remote-tracking branch 'upstream/master' into pflynn/JakeStoeffler-languageselector-updated
WARNING: defunc commit -- cyclical dependency

Conflicts:
	src/editor/EditorStatusBar.js
	src/language/LanguageManager.js
2014-04-28 18:45:03 -03:00
Jeff Booher c96b3df90a fix rte and error found during self check 2014-04-07 16:47:36 -07:00
Jeff Booher 9a5088c4e8 found a few more... 2014-04-07 16:43:22 -07:00
Jeff Booher b4e0dad4f9 respond to comments 2014-04-07 16:37:04 -07:00
Arzhan Kinzhalin 193bfa8c26 Option to check the doc's language by default.
LanguageManager.getLanguageForPath is checking the document associated
with the path if there's any open for language overrides. It can be
optionally turned off (e.g. Document language updates).
2014-04-02 14:41:25 -03:00
Peter Flynn 7b32bb1d54 Fix several problems with the Jump to Definition extensibility API:
- JS impl would always crash on non-JS code, blocking any other provider
from responding
- Provider was not called with the args the docs described
- Other errors in docs
2014-03-17 23:37:24 -07:00
Arzhan Kinzhalin b0a982ed43 Merge remote-tracking branch 'upstream/master' into pflynn/JakeStoeffler-languageselector-updated 2014-03-13 15:30:44 -03:00
Arzhan Kinzhalin fe057c6e25 JavaScript code hints respond to language change. 2014-03-13 15:29:56 -03:00
Narciso Jaramillo 7e41cdea6f Merge branch 'master' into cmv4 2014-03-11 15:59:38 -07:00
Ingo Richter b856768671 - fix for https://github.com/adobe/brackets/issues/6931
The fix is to cutoff the leading slash on a module name.
Test is not working due to issues with the ProjectManager and the missing projectRoot
2014-02-27 18:21:32 -08:00