1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00
brackets/test/spec
Subhash Jha df7aea423a Language Server Protocol Support for Brackets (#14606)
* LSP Initial set of changes

* Adding comments and a bit of cleanup

* Adding php client for lsp

* further cleanup

* removing dependency on HintUtils

* removing phpClient extension from this branch

* Cleanup

* fixing eslint errors

* Refactoring code- Removing dependency on JSUtils ANd adding basic structure for client capabilities

* Bug Fix: too many listeners were getting attached to node process + code cleanup

* putting null check and settign capabilities to default values

* reinitializing server on workspace change and moving out capabilities from client code

* cleanup

* First cut for LSP support in Brackets

* First cut for LSP support in Brackets

* Adding client infrastructure

* Adding client infrastructure

* Adding handlers on Language Client Proxy, fixing eslint errors

* Adding handlers on Language Client Proxy, fixing eslint errors

* Fixing protocol adapter

* Fixing protocol adapter

* Fix typo

* Fix typo

* Removing older implementation

* Removing older implementation

* Added error checks to the auto update mechanism. So in case the auto update mechansim fails, we will now give chance to the default update process Handler to handle the update mechanism (Which is essentially taking the user to brackets.io). (#14605)

* First cut for LSP support in Brackets

* First cut for LSP support in Brackets

* Adding client infrastructure

* Adding client infrastructure

* Adding handlers on Language Client Proxy, fixing eslint errors

* Adding handlers on Language Client Proxy, fixing eslint errors

* Fixing protocol adapter

* Fixing protocol adapter

* Fix typo

* Fix typo

* Removing older implementation

* Removing older implementation

* Removing custom comments

* Removing custom comments

* Fixing Typo

* Fixing Typo

* Add missing Params in function call

* Add missing Params in function call

* Correcting message type, handlers

* Correcting message type, handlers

* Minor correction on active project change

* Minor correction on active project change

* Correcting the message format for didChange

* Correcting the message format for didChange

* Changing custom notification and request handlers, correcting typo, adding catch block for Connection

* Changing custom notification and request handlers, correcting typo, adding catch block for Connection

* Stop Creation of Multiple Language Servers

* Stop Creation of Multiple Language Servers

* Make Language Client Generic, address review comments

* Make Language Client Generic, address review comments

* Correcting param descriptions

* Correcting param descriptions

* Modifying events handling logic for Language Client, add formatting option for communication params

* Modifying events handling logic for Language Client, add formatting option for communication params

* Add handlers for node side

* Add handlers for node side

* Removing explicit param creation, substituting with appropriate checks

* Removing explicit param creation, substituting with appropriate checks

* Fixing lint errors in MessageHandler.js

* Fixing lint errors in MessageHandler.js

* Messaging related cleanup

* Messaging related cleanup

* Adding default providers and feature managers

* Adding default providers and feature managers

* Adding banner and fixing lint error

* Adding banner and fixing lint error

* fix spacing issue

* fix spacing issue

* Fix spacing issues

* Fix spacing issues

* Add filetype checks for all events, minor server info corrections

* Add filetype checks for all events, minor server info corrections

* Handling Reload with Extension Scenario, minor JumpToDef provider fix

* Handling Reload with Extension Scenario, minor JumpToDef provider fix

* Correcting Typo

* Correcting Typo

* Adding bug fixes

* Adding bug fixes

* Adding bug fixes 2

* Adding bug fixes 2

* Addressing Review: Fixing minor typo

* Addressing Review: Fixing minor typo

* Minor bug fixes, functionality enhancements

* Minor bug fixes, functionality enhancements

* Adding tests for Language Server Support: first cut

* Adding tests for Language Server Support: first cut

* Adding banner, fixing lint errors

* Adding banner, fixing lint errors

* Adding dependency related tasks

* Adding dependency related tasks

* Fixing npm environment string

* Fixing npm environment string

* Changing handler name

* Changing handler name

* Changing file name to ClientLoader

* Changing file name to ClientLoader

* Changing variable name appropriately

* Changing variable name appropriately

* Grunt related changes for build

* Grunt related changes for build

* Adding additional requests and notifications for handling various scenarios

* Adding additional requests and notifications for handling various scenarios

* Adding Path Converter Utilities

* Adding Path Converter Utilities

* Changing Ternary operator to OR operater

* Changing Ternary operator to OR operater

* Addressing review comments

* Addressing review comments

* Removing the handler for editor change, will be handled explicitely

* Removing the handler for editor change, will be handled explicitely

* Patching JavaScriptCodeHints

* Patching JavaScriptCodeHints

* Preferences infra for LanguageTools

* Preferences infra for LanguageTools

* Fixing JS ParameterHints

* Fixing JS ParameterHints

* Fixing Default Parameter Hints Provider

* Fixing Default Parameter Hints Provider

* Fixing Path Converters

* Fixing Path Converters

* Fixing Lint in PathConverters

* Fixing Lint in PathConverters

* Retaining Posix Path on Win

* Retaining Posix Path on Win

* Fixing lint errors

* Fixing lint errors

* Fixing Node side Utils

* Fixing Node side Utils

* Fixing Promise related Issues

* Fixing Promise related Issues

* Set Server Capability in Start call

* Set Server Capability in Start call

* Review Comments & Bug Fixes

* Review Comments & Bug Fixes

* Addressing Review Comments

* Addressing Review Comments

* Fixing Lint

* Fixing Lint
2019-04-02 15:05:43 +05:30
..
CodeHint-test-files Adding unit tests for the fix for #10160 2015-03-16 17:56:47 +05:30
CodeInspection-test-files - added support for multiple code linter per file type 2013-11-05 18:21:20 -08:00
CSSInlineEdit-test-files less and scss unit tests 2014-09-12 11:57:39 -07:00
CSSUtils-test-files Merge pull request #9006 from adobe/rlim/hang-in-css-comment 2014-09-25 01:26:25 -04:00
Document-test-files
DocumentCommandHandlers-test-files reuse existing images 2013-10-21 18:09:32 -06:00
EditorCommandHandlers-test-files Implement Splitview 2014-08-29 13:05:49 -07:00
EditorOptionHandlers-test-files - removed the editor resizing call and increased the size of the test document 2014-05-06 17:03:30 -07:00
extension-test-files use npm to download extension dependencies after installing from registry (#10602) 2017-02-15 09:16:47 +05:30
ExtensionLoader-test-files allow optional requirejs-config.json file for extensions 2014-01-28 11:19:58 -08:00
ExtensionManager-test-files Added Extension Sorting capability according to downloads and last published date (#13080) 2017-02-20 11:42:52 +05:30
ExtensionUtils-test-files
FindReplace-known-goods Fix bug #8556 (Find/Replace in Files with /^/ finds 100K matches at start 2014-07-25 16:11:28 -07:00
FindReplace-test-files exclude binary files 2014-04-25 14:21:15 -07:00
FindReplace-test-files-large Bump up in-memory replace limit to 20. Tweak dialog to show the limit. 2014-05-09 17:17:54 -07:00
FindReplace-test-files-manyhits Add unit tests for paging Find in Files results 2014-05-08 14:16:31 -07:00
HTMLInstrumentation-test-files
InlineEditorProviders-test-files Replace 0% and 100% selectors with from and to so that we don't use invalid 100% as tag name. 2014-08-04 17:57:51 -07:00
JSUtils-test-files JSUtils modification to handle es6 constructs (#13635) 2017-08-28 10:31:42 +05:30
KeyBindingManager-test-files Fix unit test failures. 2015-09-24 11:55:32 +05:30
LanguageTools-test-files Language Server Protocol Support for Brackets (#14606) 2019-04-02 15:05:43 +05:30
LiveDevelopment-chrome-user-data
LiveDevelopment-MultiBrowser-test-files Add test case 2016-08-23 01:41:27 +02:00
LiveDevelopment-test-files Merge pull request #8144 from MarcelGerber/live-css-iframe 2014-08-06 15:06:46 -07:00
LowLevelFileIO-test-files add the missing file 2014-04-28 15:05:03 -07:00
MainViewFactory-test-files Implement Splitview 2014-08-29 13:05:49 -07:00
MainViewManager-test-files Implement Splitview 2014-08-29 13:05:49 -07:00
NodeConnection-test-files Make test folder license evergreen 2016-01-27 19:49:10 +05:30
PreferencesBase-test-files merge with latest master 2014-03-23 09:49:04 -07:00
ProjectManager-test-files Fix the way .git directory is created. 2015-01-09 18:32:03 -03:00
QuickOpen-test-files
test-image-files Update drag and drop images test 2014-09-19 16:54:34 -07:00
Theme-test-files Added a couple more checks in unit tests for extract scrollbars 2014-07-09 12:34:54 -04:00
UpdateNotification-test-files - made code changes according to the review comments 2014-04-28 16:20:59 -07:00
ViewCommandHandlers-test-files
WorkingSetView-test-files Implement Splitview 2014-08-29 13:05:49 -07:00
Async-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
CodeHint-test.js fix invalid filename (passes on windows due to fs being case insensitive) 2016-08-29 14:32:28 +10:00
CodeHintUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
CodeInspection-test.js add support for universal (language independent) code inspector 2017-03-07 11:42:03 +11:00
CommandManager-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
CSSInlineEdit-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
CSSUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
Document-test.js fix unit tests because of new sticky flag 2017-02-22 12:22:27 +11:00
DocumentCommandHandlers-test.js fix unit tests because of new sticky flag 2017-02-22 12:22:27 +11:00
DocumentManager-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
DragAndDrop-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
Editor-test.js fix unit tests because of new sticky flag 2017-02-22 12:22:27 +11:00
EditorCommandHandlers-test.js Editor command handlers test (#13337) 2017-04-27 22:57:24 +03:00
EditorManager-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
EditorOptionHandlers-test.js fix unit tests because of new sticky flag 2017-02-22 12:22:27 +11:00
EditorRedraw-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
EventDispatcher-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ExtensionInstallation-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ExtensionLoader-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ExtensionManager-test.js Added Extension Sorting capability according to downloads and last published date (#13080) 2017-02-20 11:42:52 +05:30
ExtensionUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
FileFilters-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
FileSystem-test.js Saurabh95/encoding support (#13412) 2017-06-23 15:12:07 +05:30
FileTreeView-test.js Change Preact require to thirdparty/preact (#13664) 2017-09-12 19:06:00 +05:30
FileTreeViewModel-test.js Add drag and drop to move items in FileTreeView (#13546) 2018-04-19 10:52:59 +05:30
FileUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
FindInFiles-test.js Added test 2017-05-03 09:30:45 +05:30
FindReplace-test.js Add find/replace test for read only 2017-11-16 21:47:08 -06:00
HTMLInstrumentation-test.js Allow omitted optional close tags in HTMLSimpleDOM (#12057) 2016-10-25 23:08:22 +03:00
HTMLSimpleDOM-test.js Allow omitted optional close tags in HTMLSimpleDOM (#12057) 2016-10-25 23:08:22 +03:00
HTMLTokenizer-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
InlineEditorProviders-test.js fix unit tests because of new sticky flag 2017-02-22 12:22:27 +11:00
InstallExtensionDialog-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
JSONUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
JSUtils-test.js JSUtils modification to handle es6 constructs (#13635) 2017-08-28 10:31:42 +05:30
KeyBindingManager-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
LanguageManager-test.js Add a unit test 2016-12-17 23:00:21 +00:00
LanguageTools-test.js Language Server Protocol Support for Brackets (#14606) 2019-04-02 15:05:43 +05:30
LiveDevelopment-test.js Correct typo (#13938) 2017-11-28 21:16:09 +02:00
LiveDevelopmentMultiBrowser-test.js Add test case 2016-08-23 01:41:27 +02:00
LowLevelFileIO-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
MainViewFactory-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
MainViewManager-test.js Merge pull request #12248 from petetnt/petetnt/flip-view-same-doc-fix 2017-02-10 13:28:39 +05:30
Menu-test.js Add tests 2017-11-08 14:35:19 +05:30
MockFileSystemImpl.js Now BOM is preserved for UTF-8 files (#13477) 2017-06-27 16:37:01 +05:30
MockFileSystemModel.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
MultiRangeInlineEditor-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
NativeMenu-test.js Enabled tests for Native Menus in Linux 2017-04-27 13:25:24 +05:30
NodeConnection-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
Pane-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
PhantomHelper.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
PreferencesBase-test.js eslint stylistic rules (#13177) 2017-03-13 20:27:39 +01:00
PreferencesManager-test.js Remove old preference system 2016-08-27 04:49:55 +05:00
ProjectManager-test.js Fixed Project Manager failing tests 2017-05-09 14:06:09 +05:30
ProjectModel-test.js Add drag and drop to move items in FileTreeView (#13546) 2018-04-19 10:52:59 +05:30
QuickOpen-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
QuickSearchField-test.js Add option for first highlight index in Quick Open and Search History (#13444) 2017-06-15 16:53:56 +02:00
RemoteFunctions-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
SpecRunnerUtils-test.js Issue #12859 Keyboard modifiers support for simulateKeyEvent (#12863) 2016-12-23 17:07:22 +02:00
SpecRunnerUtils.js Issue #11261: keep the search bar open (#14141) 2018-03-02 16:56:14 +02:00
StringMatch-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
StringUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
TextRange-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ThemeManager-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
UpdateNotification-test.js Added a unit test whose intent is to ensure that we are able to parse the JSON returned by the actual URL. (#14050) 2018-01-19 11:30:55 +05:30
UrlParams-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ValidationUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ViewCommandHandlers-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ViewFactory-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ViewUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
WorkingSetSort-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
WorkingSetView-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
XMLUtils-test.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00