The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.
TypeScript code-editorcross-platformdapdatabase-clientdebuggerdesktop-appdeveloper-toolsgithttp-clientideintellijlsprusttauriterminal
/**
* PHP: no semantic-token extras, but its language constructs (`empty`, `isset`)
* have no source declaration, so hover and completion get their documentation
* from here.
*/
import type { LanguageSemantics } from "../languages";
import { registerLanguageSemantics } from "../languages";
import { phpConstructAt, phpConstructDocumentation } from "./constructs";
const phpSemantics: LanguageSemantics = {
constructAt: (state, pos) => phpConstructAt(state, pos, "php"),
constructDocumentation: (name) => phpConstructDocumentation("php", name),
};
registerLanguageSemantics("php", phpSemantics);