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

Ensure compatibility with language tools #1

Closed
pykong opened this issue Jan 8, 2020 · 4 comments
Closed

Ensure compatibility with language tools #1

pykong opened this issue Jan 8, 2020 · 4 comments

Comments

@pykong
Copy link

pykong commented Jan 8, 2020

This package represents a noble attempt at fighting the ugliness of C-style syntax the one hobgoblin of the twisted language designer's mind.

I am afraid however the price for using this package is too high:
Removing curly braces and indentation represents a new syntax, hence breaking compatibility with language tools like linters.

I am not sure what road to take to solve this.
Too many languages are addressed.

At least in the case of JavaScript .map could provide a compatibility layer.
However providing those might be well outside the scope of this project.

@omkarjc27
Copy link
Owner

I completely realize that curly braces cannot be completely eliminated from C-like languages at compiler or at pre-processor level.
hence my aim is to use Indentor at an IDE/TextEditor level
See this Sublime Text Plugin

@pykong
Copy link
Author

pykong commented Jan 10, 2020

All the best luck! A noble attempt indeed.
I am closing this, as there is nothing actionable here.

@pykong pykong closed this as completed Jan 10, 2020
@omkarjc27
Copy link
Owner

Can you suggest some more enviornments/editors for which such plugins can be created.
Any help in developing such plugins will also be appreciated.

@pykong
Copy link
Author

pykong commented Jan 12, 2020

My advice is to focus on a single editor (first).
I am not sure the Language Server Protocol would be of help here for multiplying the functionality across editors.

In case of SublimeLinter would be the first plugin to address.
This would enable proper linting which I consider most crucial for coding.

You could open an issue over at the SublimeLinter project to ask for help.
https://github.com/SublimeLinter/SublimeLinter

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

2 participants