bwalter / aidl-lsp Goto Github PK
View Code? Open in Web Editor NEWAIDL Language Server Protocol (LSP) server
License: MIT License
AIDL Language Server Protocol (LSP) server
License: MIT License
The LSP server gives an "Unrecognised token" error for the following AIDL file, which the AIDL compiler accepts:
package test;
union TestUnion {
String a;
String b;
}
https://github.com/bwalter/aidl-lsp/blob/main/editors/code/package.json and https://github.com/bwalter/aidl-lsp/blob/main/editors/code/LICENSE says that everything is under the MIT license and copyright Benoit Walter, but the TextMate grammar https://github.com/bwalter/aidl-lsp/blob/main/editors/code/aidl.tmLanguage.json has been copied from https://github.com/google/aidl-language which is copyright Google LLC and released under the Apache License version 2.0.
Please correct the copyright notices and license information in this project to make that clear.
The LSP server gives an error "Missing direction for Test" for this interface:
package test;
import test.Test;
interface TestInterface {
void test(Test test);
}
However, the AIDL compiler allows it.
When parsing an AIDL file which refers to a ParcelFileDescriptor
, the LSP server gives an error that it is an unknown type. However ParcelFileDescriptor
is a builtin type, so it can be used without any import.
e.g.
package test;
parcelable Test {
ParcelFileDescriptor file;
}
AIDL allows enums to be nested under parcelables, but the LSP server doesn't accept it. E.g.:
package test;
parcelable TestWithEnum {
enum TestEnum {
ONE,
TWO,
}
TestEnum number;
}
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.