Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omarawd7/node-colors-autocomplete
A prototype implementation of a language server, This language server provides language feature code completion of node colors.
https://github.com/omarawd7/node-colors-autocomplete
Last synced: about 1 month ago
JSON representation
A prototype implementation of a language server, This language server provides language feature code completion of node colors.
- Host: GitHub
- URL: https://github.com/omarawd7/node-colors-autocomplete
- Owner: omarawd7
- Created: 2024-03-26T08:53:51.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-29T19:42:09.000Z (9 months ago)
- Last Synced: 2024-03-30T19:35:14.314Z (9 months ago)
- Language: Java
- Size: 867 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node-colors-autocomplete
# *Description*:This language server provides code completion features for NodeC documents, specifically focusing on assisting with completion of "nodes" property based on "nodecolors" property.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# *Example 1*:
nodecolors:red
nodes:[]
Now The at nodes:[] auto completes to the strings given at nodecolors to be as the following:
nodecolors:red
nodes:[red]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# *Example 2*:
nodecolors:red, green
nodes: [red]
Now The at nodes:[red] auto completes to the strings given at nodecolors to be as the following:
nodecolors: red, green
nodes: [red, green]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# *Completion Logic*:
Analyzes document content to extract "nodecolors" and "nodes" values.
Suggests available node colors for completion based on context.
Considers colors already used in "nodes" to avoid duplicates.