This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: working lsp provider written in TypeScript
BREAKING CHANGE This should be considered a major update, due to all of the actual functionality being offloaded onto Scry now. No existing configs will work.
- Loading branch information
Showing
19 changed files
with
248 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,6 @@ jspm_packages | |
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
lib/ | ||
server/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# `ide-crystal` for Atom | ||
# ide-crystal | ||
|
||
Currently under renovation. | ||
Adds the scry Crystal Language Server to Atom IDE. | ||
|
||
![Please Pardon Our Dust](http://butchbellah.com/wp-content/uploads/2014/05/Pardon-Our-Dust.jpg) | ||
## Contributing | ||
Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/atom-crystal/languageserver-crystal/issues/new) or working on some of the [open issues](https://github.com/atom-crystal/languageserver-crystal/issues), Atom's [contributing guide](https://github.com/atom/atom/blob/master/CONTRIBUTING.md) will help get you started while the [guide for contributing to packages](https://github.com/atom/atom/blob/master/docs/contributing-to-packages.md) has some extra information. | ||
|
||
## License | ||
MIT License. See [the license](LICENSE.md) for more details. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,75 @@ | ||
{ | ||
"name": "ide-crystal", | ||
"repository": "https://github.com/atom-crystal/atom-crystal", | ||
"repository": "https://github.com/crystal-lang-tools/atom-ide-crystal", | ||
"main": "./lib/main.js", | ||
"scripts": { | ||
"lint": "prettier" | ||
}, | ||
"version": "0.2.3", | ||
"description": "Crystal IDE for Atom and Nuclide.", | ||
"description": "Crystal support for Atom IDE", | ||
"license": "MIT", | ||
"activationCommands": {}, | ||
"consumedServices": {}, | ||
"providedServices": { | ||
"linter": { | ||
"versions": { | ||
"1.0.0": "provideSteelbrainLinter" | ||
} | ||
} | ||
"engines": { | ||
"atom": ">=1.17.0" | ||
}, | ||
"dependencies": { | ||
"atom-languageclient": "^0.9.2", | ||
"decompress": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"xo": "0.18.2" | ||
"@types/atom": "^1.24.2", | ||
"@types/decompress": "^4.2.0", | ||
"@types/node": "^9.4.6", | ||
"prettier": "^1.5.3", | ||
"typescript": "^2.7.2" | ||
}, | ||
"xo": { | ||
"esnext": true, | ||
"globals": [ | ||
"atom", | ||
"TextDecoder" | ||
], | ||
"rules": { | ||
"import/no-extraneous-dependencies": 0 | ||
"enhancedScopes": ["source.crystal"], | ||
"consumedServices": { | ||
"linter-indie": { | ||
"versions": { | ||
"2.0.0": "consumeLinterV2" | ||
} | ||
}, | ||
"datatip": { | ||
"versions": { | ||
"0.1.0": "consumeDatatip" | ||
} | ||
}, | ||
"envs": [ | ||
"jasmine", | ||
"atomtest" | ||
] | ||
"status-bar": { | ||
"versions": { | ||
"^1.0.0": "consumeStatusBar" | ||
} | ||
} | ||
}, | ||
"configSchema": { | ||
"compilerExecPath": { | ||
"title": "Compiler Executable Path", | ||
"description": "The path (with excutable) of the Crystal compiler to be run by the IDE in the background. By default the IDE will use the compiler in your path.", | ||
"type": "string", | ||
"default": "crystal" | ||
"providedServices": { | ||
"autocomplete.provider": { | ||
"versions": { | ||
"2.0.0": "provideAutocomplete" | ||
} | ||
}, | ||
"artifactsDuringDiagnostics": { | ||
"title": "Build Artifacts when Diagnostics", | ||
"description": "Should the compiler build artifacts when compiling code for diagnostics.", | ||
"type": "boolean", | ||
"default": false | ||
"code-format.range": { | ||
"versions": { | ||
"0.1.0": "provideCodeFormat" | ||
} | ||
}, | ||
"code-highlight": { | ||
"versions": { | ||
"0.1.0": "provideCodeHighlight" | ||
} | ||
}, | ||
"compilerColorOutput": { | ||
"title": "Compiler Color Codes", | ||
"description": "When false the compiler will include ASCII color characters in output for the IDE.", | ||
"type": "boolean", | ||
"default": false | ||
"definitions": { | ||
"versions": { | ||
"0.1.0": "provideDefinitions" | ||
} | ||
}, | ||
"diagnosticsCommand": { | ||
"title": "Diagnostics Command", | ||
"description": "The compiler command used when finding diagnostics.", | ||
"type": "string", | ||
"default": "build" | ||
"find-references": { | ||
"versions": { | ||
"0.1.0": "provideFindReferences" | ||
} | ||
}, | ||
"formatOnSave": { | ||
"title": "Format on Save", | ||
"description": "Run `crystal tool format` each time a file is saved.", | ||
"type": "boolean", | ||
"default": false | ||
"outline-view": { | ||
"versions": { | ||
"0.1.0": "provideOutlines" | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.