Skip to content

Skip formatting for unsupported file types #23

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

Conversation

zaneduffield
Copy link
Collaborator

Fixes #22.

I wish there was a better way to check a file 'type' rather than checking the extension, but I don't think the ToolsAPI provides it.

I thought there might be a problem where you have a buffer that doesn't have a filename, but as far as I can tell the IDE doesn't let you do this.

@zaneduffield zaneduffield requested a review from fourls April 23, 2025 22:51
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! It's a shame that the IDE doesn't expose language information.

@fourls fourls merged commit 25c2706 into integrated-application-development:master May 14, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

Markdown files will be formatted
2 participants