ifc-language-server/server/node_modules/vscode-languageserver-textdocument/README.md
Ryan Schultz 8afacf268a Implemented a working Language Server Protocol (LSP) for IFC files with:
- Hover provider showing entity information and type
- Go-to-definition (F12) for entity references
- Basic IFC file validation (ISO-10303-21 header check)
- Entity parsing with regex-based detection
- Proper CommonJS module system (avoiding ES module issues)

This replaces the broken baseline from ifc-developer-tools which had:
- Non-functional ES module configuration
- Circular dependency issues
- Parser crashes
- Non-working PositionVisitor

Built on Microsoft's LSP example template for a clean, maintainable foundation.

Next: Add hierarchical entity dependency tree in hover tooltip."
2025-12-07 10:20:07 -06:00

30 lines
933 B
Markdown

# Text Document implementation for a LSP Node server
[![NPM Version](https://img.shields.io/npm/v/vscode-languageserver-textdocument.svg)](https://npmjs.org/package/vscode-languageserver-textdocument)
[![NPM Downloads](https://img.shields.io/npm/dm/vscode-languageserver-textdocument.svg)](https://npmjs.org/package/vscode-languageserver-textdocument)
Npm module containing a simple text document implementation for [Node.js](https://nodejs.org/) language server
Click [here](https://code.visualstudio.com/docs/extensions/example-language-server) for a detailed document on how
to implement language servers for [VSCode](https://code.visualstudio.com/).
## History
### 1.04
- Introduced ESLint rule for member delimiter style.
### 1.03
- Moved to ES2020 target and lib
### 1.0.2
- JSDoc updates
### 1.0.0
Initial version.
## License
[MIT](https://github.com/Microsoft/vscode-languageserver-node/blob/master/License.txt)