1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00
Commit Graph

69 Commits

Author SHA1 Message Date
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
Vickramaditya Dhawal
288449bc3a Adding a pre release build step (#14360)
* adding a new grunt task to generate pre-release builds with the proper auto update url

* fixing eslint issues

* further changes to pre release builds

* fixing the access of config obj
2018-05-28 16:05:36 +05:30
miglani
8e1a524937 Adding buildnumber to config.json 2018-04-27 18:03:46 +05:30
Naveen Choudhary
b4c5fbd722 Stopping from minifying node code in JSUtils 2017-12-11 13:15:39 +05:30
Naveen Choudhary
c533d3c812 Missed running npm-install on JSUtils 2017-12-08 12:48:02 +05:30
Martin Zagora
764fb02700 download eslint package from npm and place it into default extensions (#13108)
* download eslint package from npm and place it into default extensions

* add defaultExtensions section to package.json

* lock deps, add shrinkwrap again

* do not lint brackets-eslint files

* Handle multiple linters for a specific language using priority and load order

* Handle provider name conflict for a given language by retaining the most recently loaded one

* Remove invalid comment

* Update npm-shrinkwrap.json
2017-08-31 20:45:20 +05:30
Boopesh Mahendran
c0c1b677d6 Remove react and add preact (#13608)
* 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
2017-08-29 16:40:07 +05:30
Horia Radu
e704f75656 Enable no-redeclare to eslint (#13452) 2017-06-18 18:27:18 +02:00
Marcel Gerber
731177d192 In writeJSON (grunt), use CRLF on Windows (#13458) 2017-06-18 11:15:32 +02:00
Swagatam Mitra
24e79f791a Append auth token only when available in travis environment (#13272)
* Append auth token only when available in travis environment

* Remove unused var
2017-04-06 11:07:37 +03:00
Swagatam Mitra
749c1c22a9 Adding rest filter expression 2017-04-04 15:20:31 +05:30
Swagatam Mitra
bbdbec5d0a Add GitHub Brackets OAuth token to romove CLA pull request limit 2017-04-04 15:00:41 +05:30
Martin Zagora
18824346b8 Zaggino/update extension manager deps (#12933)
* delete node_modules from extensibility/node

* add dependencies from extensibility/node to main package.json

* update outdated deps

* use webpack to bundle semver which doesnt provide amd build

* update config.json

* update webpack to latest
2017-03-15 13:18:06 +05:30
ficristo
57600be4eb Create config.json based on task run (#12778) 2017-03-15 11:43:49 +05:30
ficristo
f2751535be Add a post install 'cleanup' for thirdparty dependencies 2017-01-03 09:15:35 +01:00
ficristo
30fdf93802 Move npm dependencies inside src and add CodeMirror to them 2016-12-07 21:37:44 +01:00
Marcel Gerber
1ed6c04b5b Update Tern & Acorn (#11569)
* Update Tern -> post-0.13
Replace Acorn submodule with local copy
Update Acorn -> post-2.2

* Change function call for renamed function

* Load ecma6.json into Tern

* Workaround non-emittable options in acorn_loose

* Fix unit test
Since we only get 500 hints back and there have been many new additions,
Date's "getSecond" was no longer part of those 500. Thus, I decided to
check for the existence of hints from Function, String and Array instead
of Function, Array and Date.

* Make use of the correct, renamed Tern definition

* remove old acorn & tern

* add acorn & tern as npm dependencies

add lodash as dependency

* grunt install installs dependencies for extensions from npm

* fix acorn & tern paths

* load libraries from node_modules, not working yet

fix acorn to load it with requirejs

* forgot to add glob dev dependency

travis builds on node 0.10 which doesn't have promise

* add eslint-env node

* fix missing use strict
2016-08-26 14:22:23 +02:00
Martin Zagora
af423b416f Merge remote-tracking branch 'ficristo/shrinkwrap-cleanup'
# Conflicts:
#	tasks/npm-install.js
2016-08-26 08:14:53 +10:00
ficristo
8370a088d3 ESLint: enable strict rule 2016-08-25 22:24:02 +02:00
ficristo
5249a4e433 Use node env only in node scripts (and not globally) 2016-08-25 22:17:29 +02:00
ficristo
219f856534 Clean up a bit npm-install file 2016-08-25 21:51:38 +02:00
ficristo
2913061f45 Move npm-shrinkwrap in dist folder too 2016-08-25 21:44:47 +02:00
Martin Zagora
4e17c9826b add npm install --production script to grunt build 2016-08-25 08:08:17 +10:00
Marcel Gerber
c16e34f867 Rename CONFIRM_FOLDER_DELETE_TITLE -> CONFIRM_DELETE_TITLE (#12693)
* Rename CONFIRM_FOLDER_DELETE_TITLE -> CONFIRM_DELETE_TITLE for all locales

* Make nls-check task actually fail in case any unknown keys are encountered
2016-08-20 08:49:45 +02:00
ficristo
074382aaa2 Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
Arzhan Kinzhalin
c90199861e Add @mfatekho to CLA exceptions.
@mfatekho is Marat Fatekhov. He is covered by Adobe/Intel CCLA.
2016-03-22 14:13:15 -07:00
Prayag Verma
fb482ad4c1 Make tasks folder and Gruntfile file license evergreen 2016-01-27 19:45:45 +05:30
ficristo
ef6048cfbb ESLint: enabled no-trailing-spaces and eol-last rules 2015-12-11 23:02:47 +01:00
Marcel Gerber
2fbb44a447 Add grunt task to check for correct nls keys 2015-09-16 19:49:12 +02:00
Arzhan Kinzhalin
effd629129 Adding @albertinad to the cla-exceptions.json. 2014-12-16 09:45:20 -03:00
Ingo Richter
a02e2946e3 - append buildnumber to version to make UpdateNotification check work again 2014-10-27 23:53:26 -07:00
Kevin Dangoor
bc7ad9ebd8 Make update-release-number task support post-1.0 releases.
Fix for #9690.
2014-10-27 11:27:39 -04:00
Marcel Gerber
07db97cb9d Merge remote-tracking branch 'upstream/master' into unused-vars 2014-09-10 15:48:17 +02:00
Marcel Gerber
afd2c6bb81 Remove unused vars 2014-09-04 01:48:05 +02:00
Marcel Gerber
e28cad6111 Sprint -> Release 2014-08-07 01:34:10 +02:00
HighwayChile
88b54920e5 grunt writes build timestamp, read into about view 2014-06-03 22:02:56 -07:00
Randy Edmunds
a090f7885a add walfgithub 2014-05-16 07:38:47 -07:00
Ingo Richter
310f3c7855 - minor formatting change based on code review 2014-04-25 16:10:44 -07:00
Ingo Richter
cda55581c8 - let the build fail if there are unit test failures 2014-04-11 20:53:55 -07:00
Peter Thiess
575bf978e6 Update cla-exceptions.json
Adding Shahab Layeghi and Sebastian Salvucci as per Intel's request
2014-04-04 11:56:38 -07:00
Jason San Jose
f7a883f8bd Add CLA URL to error message 2014-03-24 09:29:52 -07:00
RaymondLim
430dae1140 Add Michael Hernandez to the whitelist. 2014-02-24 13:00:07 -08:00
Jason San Jose
429f00fa22 enable test task for master and release branches 2014-02-04 17:11:53 -08:00
Jason San Jose
feb96ccbad squashed from jasonsanjose/travis-sprint-33 2014-02-04 16:51:55 -08:00
unknown
bb926c8e19 - fixed formatting issue 2014-01-30 14:51:19 -08:00
unknown
ec6b2784a6 - replace all backslashes in result file path to forward slashes to make new filesystem implementation happy 2014-01-30 14:41:11 -08:00
Jason San Jose
cca208c1ed build-config task to be used by concat/minify build process 2013-12-02 14:31:09 -08:00
Jason San Jose
5099928710 allow shell git info to be optional 2013-11-26 13:47:51 -08:00
Jason San Jose
3199749954 fix returning reflog promise 2013-11-22 14:07:45 -08:00
Jason San Jose
19d39c010e use ls-remote to compare HEAD and then reflog as a backup 2013-11-22 13:34:33 -08:00