https://github.com/robertov8/elixir_intellisense_rest
https://github.com/robertov8/elixir_intellisense_rest
elixir elixir-language elixir-language-server intellij intellisense intellisense-support
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/robertov8/elixir_intellisense_rest
- Owner: robertov8
- Created: 2021-08-08T23:10:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-08T23:11:09.000Z (almost 4 years ago)
- Last Synced: 2024-12-29T07:42:21.014Z (5 months ago)
- Topics: elixir, elixir-language, elixir-language-server, intellij, intellisense, intellisense-support
- Language: Elixir
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ElixirIntellisenseRest
To start your Phoenix server:
* Install dependencies with `mix deps.get`
* Start Phoenix endpoint with `mix phx.server`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
## Servidor de integração
Tentativa de criar um servidor para desacoplar o autocomplete e todas as ferramentas de análise de código do elixir [(elixir-ls)](https://marketplace.visualstudio.com/items?itemName=JakeBecker.elixir-ls). objetivo é tentar melhorar o autocomplete das ferramentas da jetbrains.### POST - http://localhost:4000/api
* request
```json
{
"request": "suggestions",
"payload": {
"buffer": "\ndefmodule MyModule do\n alias List, as: MyList\n MyList.flatten(par0,\nend\n",
"line": 3,
"column": 23
}
}
```* response
```json
{
"data": [
{
"metadata": {},
"name": "Chars",
"subtype": "protocol",
"summary": "The `List.Chars` protocol is responsible for\nconverting a structure to a charlist (only if applicable).",
"type": "module"
},
{
"args": "atom",
"args_list": [
"atom"
],
"arity": 1,
"def_arity": 1,
"metadata": {
"builtin": true
},
"name": "__info__",
"origin": "List",
"snippet": null,
"spec": "@spec __info__(:attributes) :: keyword()\n@spec __info__(:compile) :: [term()]\n@spec __info__(:functions) :: [{atom, non_neg_integer}]\n@spec __info__(:macros) :: [{atom, non_neg_integer}]\n@spec __info__(:md5) :: binary()\n@spec __info__(:module) :: module()",
"summary": "Built-in function",
"type": "function",
"visibility": "public"
},
...
],
"size": 44,
"status": true
}
```## Learn more
* Official website: https://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Forum: https://elixirforum.com/c/phoenix-forum
* Source: https://github.com/phoenixframework/phoenix