-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspace #4
Comments
public function open(string $file): ?Document
{
$extension = pathinfo($file, PATHINFO_EXTENSION);
switch ($extension) {
case 'md':
return new MarkdownDocument($file);
case 'php':
return new PhpDocument($file);
case 'xml':
return new XmlDocument($file);
default:
return new TextDocument($file);
}
}
|
create functionality (LSP-like) protocol. |
|
for virtual storage, we can use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to build a tool that would allow me to use
PHP
code to create/update/delete any files and folders and execute commands in a specific directory.Then add custom
The text was updated successfully, but these errors were encountered: