Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
ad2fe6f
Migrate to Volar
AngusMorton Oct 16, 2024
65fb911
Add formatting action and fix formatting
AngusMorton Oct 19, 2024
577f64c
Defer to the HTML service for document links
AngusMorton Oct 20, 2024
7aad93d
Fix accessibility diagnostics
AngusMorton Oct 21, 2024
cb5a041
Fix marko completions
AngusMorton Oct 21, 2024
e8b6846
Merge remote-tracking branch 'upstream/main'
AngusMorton Oct 22, 2024
5ddbc2c
Refactor service plugins
AngusMorton Oct 22, 2024
109a995
Remove unused files
AngusMorton Oct 22, 2024
d60147b
Rm commit
AngusMorton Oct 22, 2024
875e464
Reorganize
AngusMorton Oct 22, 2024
cb9fe8f
Cleanup
AngusMorton Oct 24, 2024
bb6d251
Merge remote-tracking branch 'upstream/main'
AngusMorton Oct 24, 2024
703056f
Cleanup formatting and tests
AngusMorton Oct 24, 2024
7344a3d
Merge remote-tracking branch 'upstream/main'
AngusMorton Oct 26, 2024
8e472f9
Add types to parseScript
AngusMorton Nov 2, 2024
9713d25
Merge remote-tracking branch 'upstream/main'
AngusMorton Nov 2, 2024
bd7b1fc
rm document-symbols
AngusMorton Nov 2, 2024
908ffd3
Migrate TS Plugin
AngusMorton Nov 6, 2024
43d4961
Release first version
AngusMorton Nov 18, 2024
385a8a4
Merge remote-tracking branch 'upstream/main'
AngusMorton Nov 18, 2024
7852d55
Merge branch 'main' into release/polar-v1
AngusMorton Nov 18, 2024
6bf6d65
0.1.3
AngusMorton Nov 18, 2024
505408e
WIP Fix diagnostics
AngusMorton Nov 26, 2024
e863fab
Fix diagnostics
AngusMorton Nov 26, 2024
05bb1c7
Merge remote-tracking branch 'upstream/main'
AngusMorton Nov 26, 2024
94b7330
Merge branch 'main' into release/polar-v1
AngusMorton Nov 26, 2024
13f8f6e
Merge branch 'release/polar-v1' into am/fix-diagnostics
AngusMorton Nov 26, 2024
911a970
0.1.4
AngusMorton Nov 27, 2024
5750131
WIP missing attributes diagnostics
AngusMorton Nov 27, 2024
2c21feb
Merge remote-tracking branch 'upstream/main'
AngusMorton Nov 28, 2024
f75b08f
Merge branch 'main' into release/polar-v1
AngusMorton Nov 28, 2024
3dbf816
Merge remote-tracking branch 'upstream/main'
AngusMorton Dec 6, 2024
f29eec3
Merge branch 'main' into release/polar-v1
AngusMorton Dec 6, 2024
fe7ce55
Fix build
AngusMorton Dec 6, 2024
935a166
Merge branch 'release/polar-v1' into am/fix-missing-attributes-diagno…
AngusMorton Dec 6, 2024
f712598
Fix attribute errors not working
AngusMorton Dec 6, 2024
d297847
0.1.6
AngusMorton Dec 24, 2024
04d6eaf
Merge remote-tracking branch 'upstream/main'
AngusMorton Dec 24, 2024
8845a02
Merge branch 'main' into release/polar-v1
AngusMorton Dec 24, 2024
8fb746b
0.1.7
AngusMorton Dec 24, 2024
453c5ab
Merge remote-tracking branch 'upstream/main'
AngusMorton Jan 12, 2025
7925608
Merge branch 'main' into release/polar-v1
AngusMorton Jan 12, 2025
6128c35
Fix attribute marker being JSDoc
AngusMorton Jan 12, 2025
6bd0576
Merge remote-tracking branch 'upstream/main'
AngusMorton Jan 19, 2025
f206f06
Merge branch 'main' into release/polar-v1
AngusMorton Jan 19, 2025
2b065ca
0.1.9
AngusMorton Jan 19, 2025
159b10e
Merge remote-tracking branch 'upstream/main'
AngusMorton Feb 1, 2025
3cf6736
Merge branch 'main' into release/polar-v1
AngusMorton Feb 1, 2025
c325496
Merge remote-tracking branch 'upstream/main'
AngusMorton Jun 16, 2025
83b1f30
Merge branch 'main' into release/polar-v1
AngusMorton Jun 16, 2025
0b5e7b5
readme
AngusMorton Jun 16, 2025
011ed7c
deps
AngusMorton Jun 16, 2025
d481cc3
Fix Typescript diagnostics not being mapped correctly
AngusMorton Jun 18, 2025
59d66ef
Remove unnecessary attribute markers
AngusMorton Jun 20, 2025
7bed5e4
Merge remote-tracking branch 'upstream/main'
AngusMorton Jun 20, 2025
cc4d632
Fix incorrect runtime api
AngusMorton Jun 20, 2025
470421a
Release
AngusMorton Jun 20, 2025
6e930d1
Only modify diagnostics that arent contained within mappings
AngusMorton Jun 20, 2025
9b4298e
release
AngusMorton Jun 20, 2025
18cec4f
Merge remote-tracking branch 'upstream/main'
AngusMorton Jul 26, 2025
b068993
Fix tests
AngusMorton Jul 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 2 additions & 69 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,3 @@
# Marko Language Support
### Polar Marko Language Server

Using the [Language Server Protocol](https://langserver.org/) to improve Marko's developer experience.
Server implementation can be found [here](/packages/language-server).

![image](https://user-images.githubusercontent.com/1958812/62816318-f30e9700-bad9-11e9-82ba-ff3b360eb1f7.png)

## How to use

### VS Code

- install [`Marko VSCode`](https://marketplace.visualstudio.com/items?itemName=Marko-JS.marko-vscode) from the marketplace ([plugin source](clients/vscode))

### Emacs

- install [`eglot`](https://github.com/joaotavora/eglot)
- [`npm i -g @marko/language-server`](https://www.npmjs.com/package/@marko/language-server)
- add the `marko-language-server` executable to `eglot-server-programs`

### Neovim

- install [coc.nvim](https://github.com/neoclide/coc.nvim)
- [`npm i -g @marko/language-server`](https://www.npmjs.com/package/@marko/language-server)
- follow the [instructions](https://github.com/neoclide/coc.nvim/wiki/Language-servers#register-custom-language-servers) using `marko-language-server` as the executable

### IntelliJ/Webstorm

- install [LSP Support](https://plugins.jetbrains.com/plugin/10209-lsp-support) from the marketplace
- [`npm i -g @marko/language-server`](https://www.npmjs.com/package/@marko/language-server)
- [update the server definitions](https://github.com/gtache/intellij-lsp#add-a-language-server) to include the `marko-language-server` executable for the `.marko` extension

### Sublime

- run `Package Control: Install Package` from the command palette, then select [LSP](https://github.com/tomv564/LSP)
- [`npm i -g @marko/language-server`](https://www.npmjs.com/package/@marko/language-server)
- run `LSP: Enable Language Server` from the command palette and register `marko-language-server`.

### Atom

- install [`language-marko`](https://atom.io/packages/language-marko) from the atom package registry ([plugin source](https://github.com/marko-js/atom-language-marko))

## Development

We include a `.vscode` directory that contains launch configurations for developers.
You can find three settings that will help you get started. The workflow will be
explained in the following items:

- Run `$ npm install` installs dependencies for the extension and the server.
- Run `$ npm run watch` to compile and re-compile the client and server in the background on each change.
- Open this folder in VS Code. In the Debug viewlet, run the 'All' task, this will open a new vscode instance and attach debuggers for the client and server code.
- Open your Marko project (You can use https://github.com/marko-js-samples/ui-components-playground to experiment as well)
- Now you can add breakpoints to the client and the server. If you change any code, you might want to restart the debug session so that all your changes get loaded.

## Contributing

Each project in this repository has different guidelines for contributing. Please check the CONTRIBUTING.md file in each project to learn more.

## Code of Conduct

This project adheres to the eBay Code of Conduct. By participating in this project you agree to abide by its terms.

## License

Use of this source code is governed by an MIT-style license that can be found in
the LICENSE file or at https://opensource.org/licenses/MIT.

## Contributors

- Diego Berrocal (@CestDiego)
- Manthan Doshi
This is a language server for Marko, forked from the [Marko Language Server](https://github.com/marko-js/language-server), but modified to use [Volar](https://volarjs.dev/) as the language tooling framework.
Loading