Skip to content
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

Set default file as a php file #5

Closed
Andrewsuares opened this issue Oct 14, 2020 · 5 comments
Closed

Set default file as a php file #5

Andrewsuares opened this issue Oct 14, 2020 · 5 comments

Comments

@Andrewsuares
Copy link

Excellent extension.

For those wondering how to set a new file to php by default.

Files > Preferences > Settings
Files: Default Language

Enter php in the box.

@jakecastelli
Copy link
Owner

Hi Andrew,

Thank you for your suggestion, may I ask under which circumstance you need to set a new file to php by default?

Cheers,
Jake

@Andrewsuares
Copy link
Author

I use Vscode to work on php files. And so the default to php is fast for me without having to change anything.

@Andrewsuares
Copy link
Author

Hi Jake,

Any ideas to allow users to submit code snippets. 1) A method to add code extensions directly to the Vscode extension. This would be local to the user and 2) A method to add to the snippets that makes it available to everyone. I'm thinking maybe something like ublock origin, the extension that blocks ads. Filters are auto-updated and downloaded to the browser. Your extension in Vscode could do the same.

@jakecastelli
Copy link
Owner

Hi Andrew, you can create your own snippets directly by using VSCode either locally or globally within VSCode.

The Trongate VSCode extension intends to keep the amount of snippets to the bare minimal as every user has its own preference.
If you think there are some good snippets you can always suggest inside the sca forum, if many of us agreed upon it, then we would pack it into the next lease.

Cheers.

@DaFa66
Copy link
Collaborator

DaFa66 commented Oct 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants