rbozan / lsp-translations Goto Github PK
View Code? Open in Web Editor NEWA language server written in Rust to have autocompletion for the translations in your project.
A language server written in Rust to have autocompletion for the translations in your project.
"lsp-translations.translationFiles.include": [
"../backend/cache/translations.json",
"./backend/cache/translations.json",
Notification becomes:
{
"globPattern": "/home/rbozan/Projects/recharge-mobile-app/frontend/backend/cache/translations.json"
},
{
"globPattern": "/home/rbozan/Projects/recharge-mobile-app/frontend/backend/cache/translations.json"
},
NL flag errors out the lsp.
Use crate https://crates.io/crates/lsp-document
And create test.
Also see https://github.com/denoland/deno/blob/728d205d9d2551a356a022b6b083bcdcf081f3bf/cli/lsp/documents.rs
https://github.com/wasm-lsp/wasm-lsp-server/blob/c47a9dc81f4af9d68276e0fce16e4f7ce5ced8fd/crates/server/src/server.rs#L99
https://github.com/kitten/prosemd-lsp/blob/d522961258781e638f0a63ee7b389f4e396bdc58/src/document.rs
Some emoji's dont show properly, for example ๐จโ๐ป
PHP example:
/\$lang\['(.+?)'\] = '(.+?)';/gms
$lang['website_title'] = 'abacadef';
$lang['winnerblock.35.content'] = '[b]Juni/Juli[/b]
214w67961
21375r050
2120aw6631
21054w228
209wra01388';
$lang['winnerblock.36.content'] = '[b]August/September[/b]
24482aw434
239r48641
23b363200';
958e2b2be5424bde4eb527e36c4094dd.ar-ae.account.validations.maxLength
// seperate by dot: (.+?(\.|\Z))?
// retrieve language (ISO 639-1): ^.+?\.(?<language>.+?)\.
// ignore project id and language: ^.+?\..+?\.(.+$)
PHP example:
/\$lang\['(.+?)'\] = '(.+?)';/gms
$lang['website_title'] = 'abacadef';
$lang['winnerblock.35.content'] = '[b]Juni/Juli[/b]
214w67961
21375r050
2120aw6631
21054w228
209wra01388';
$lang['winnerblock.36.content'] = '[b]August/September[/b]
24482aw434
239r48641
23b363200';
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.