* 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
* Add drag and drop to move items in FileTreeView
Todo:
* Handle move errors.
* Add support for moving to root directory.
* Add support for moving items to root directory
* Check item dropped onto itself or parent directory
* Add support for moving items by dropping on files
* Create dragItem action
* Close directory on drag
* Open directory on Drop
* Open directory on drag over
* Address review comments
* Add tests for moveItem in FileTreeViewModel
* Fix style issues on drag
* Make styles fast
* Change fileindex to update the moved entry
* Fix lint mistakes
* Set drag image as item name
* Check if directory is open before opening directory on drop
* Refactor code
* Check if item is dropped onto itself or parent directory
* Move selected flag when item is moved
* Use filter instead of forEach
* Change implementation to reuse rename workflow
* Fix tests
* Add docs and comments
* Address review comments
* Add Error handling
* Make directory open and adding new item independent
This makes adding the moved item to the new directory independent of
whether the directory is loaded or not by creating a notFullyLoaded
directory for the new directory.
* It fixes issue #11261 by preventing the search bar from closing as a result of clicking in the main editor. This is done by commenting out the code in line 256. The search bar will also close when the ESC key is pressed while the main editor has focus
* Commented out unnecessary code around line 256
* [issue#11261] * Added in a menu option to allow find bar to stay open/automatically close
* Add a close icon to the search bar (for completeness)
* Fix escape key for in-editor searches
* Remember last search phrase if no selection for in-editor searches
* [issue#11261] Code clean up of initial mistakes of the previous commit
* [issue#11261] Strange issue with spacing in src/nls/fr/strings.js...
* [issue#11261] Strange issue with spacing in src/nls/fr/strings.js...
* [issue#11261] Further merge conflict resolution and clean up
* [issue#11261] Fix to branch and to testing
* [issue#11261] Fixes for incorrect regexp processing
* [issue#11261] Why does JSLint keep changing its own file
* [issue#11261] Not sure about the french one, let's exclude it for now until I can confirm with a Quebecois at work
* [issue#11261] Test left test file with change...
* [issue #11261] Minor fixes as per conversation of pull request
* [Issue #11261] Fixes mainly to the regular expression side of things
* [Issue #11261] Revert accidental change in JSLint
* [issue #11261] Remove loosy TODO and wording consistency change
* [Issue #11261] Remove Find Next on 'Find' option (we already have Find Next)
* [Issue #11261] (Retry the Travis CI build)
* Totally forgot to actually save the merge conflict resolution. Here it is.
* Merged master incorrectly - fix bad merge
* Fix test
Signed-off-by: petetnt <pete.a.nykanen@gmail.com>
* Add extract to variable and extract to function features
* Fix lint errors
* Handle return statement in extract to function
* Format comments
* Format inline menu code
* Fix extract to function bug
For extract to function, check the props of scopes from src scope to
dest scope(including dest scope) for computing the return parameters
* Move inlinemenu widget to brackets core
* Externalize strings and create constants for command ids
* Return on multicursor error
* Move keyboard bindings to keyboard json
* Add keyboard json
* Add styles for inlinemenu widget
* Show function body prefix for nameless functions
* Externalize UI strings
* Fix bug in sort function for list of expressions
* Fix bug in scope position for function expressions
* Close inline menu on ESC
* Add class name for named class expressions
* Remove extra line breaks
* If only one scope, extract to function without menu
* Check identifiers of all surrounding scopes for unique identier name
* Clone ASTNode object before return in findSurroundASTNode
The node object must be cloned because we change the node object
afterwards and if not cloned, it will changed the ast and will
cause issues
* Create getAST function in refactoringUtils
* Check erroneous function declarations
* Allow function and class expressions also as statement
* Display multi-line expressions also for extract to variable
* Check if expns is null
* Check variable declaration for find name of class expn
* Change ecmaVersion in ternOption
* Move command and menu creation to javscriptrefactoring/main and add submenu
* Add refactor to strings and remove redundant keybinding lines
* Add extract to variable tests
* Remove wrong test case
* Add extract to function tests
* Add more tests
* Add unit tests for rename, wrap selection,getter/setter and convert to arrow function (#14022)
* Add Preact library
* Change react to preact
* Fix problems caused by replacing react with preact
* Add Preact test utils and dependencies
* Change requires from react to preact in FileTreeView-test
* Fix problems caused by replacing react test utils with preact test utils
* Remove react
* Make findRenderedDOMComponentWithTag function as helper function
* Find and Replace react with preact
* Make preact, preact-compat, preact-test-utils as node_modules
* Change preact-compat dependency to point to adobe's fork
* JSUtils modification to handle es6 constructs
* Addressed review comments and added es6 test cases
* Address Code review comments and add support for ArrowFunctionExpressions with new test case
* Update comments
* Refactor to remove extra variables
* Now BOM is preserved for UTF-8 files
* Added error strings for failure in encode/decode and utf-16
* Removed utf-16 from encodings list
* Addressed review comments
* Now encoding is passed as parameter on file read and it is used by writefile in order to preserve encoding
* UI wiring
* Code Cleanup
* Fixed failing tests
* Added warning Dialog while changing encoding
* Added some Linux specific changes
* Fixed some linting errors
* Reverted last commit
* Minor changes
* Now selected encoding is stored in state
* Fixed lint error
* Added some more encodings
* Added some more encodings
* Fixed lint errors
* Removed duplicate encodings
* Fixed failing tests
* Used externalized strings
* Addressed review comments
* Added supported encodings file
* Addressed review comments
* Addressed review comments
* Added Extension Sorting capability according to downloads and last published date
* Passed sort criteria to sortRegistry function in registy_utils
* Added some tests
* Added check for existence of downloadCount in extension-manager
* Added test for checking downloadCount in ExtensionManager view
* Added svg image for download icon in Extension Manager
* use npm to download extension dependencies
add shrinkwrap
* exec npm instead of using internal API
refactor
refactor 2
* update npm
* initialize exitCode
* move fail and finish blocks out
* do not use ternary ifs
* little fix
* update npm-shrinkwrap
* move npm installation to the package extraction step
* consistent function style
* add proxy support
* npm-shrinkwrap.json