Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Language that are registered here are always xtext languages.

...

Register languages that are defined in the semantic

Since we are in the semantics repository we can use java ServiceLoader to add new ILSSetups, which register a language.

...

A language that wants to be included in the LS can implement this interface. Registering SCTXLSSetup via ServiceLoader allows to register all available languages like this:

Code Block
for (contribution: KielerServiceLoader.load(ILSSetupContribution)) {
	            contribution.LSSetup.doLSSetup()
        }

...

}

Register that are defined outside of the semantic

Have a look at one of the LSSetups defined in the semantic.

Bindings

TODO

Starting and connecting

Connection via Socket

...