Comments (6)
Are you proposing this information be provided in the error string raised or as properties in the actual exceptions?
I agree that the strings raised could be more verbose. I don't think it's necessary to maintain these error properties in any way besides in a human-readable string though.
from editorconfig.
I think the syntax error file and error line is necessary. It could help users find where they got wrong. But we could put it aside if this causes too much trouble.
from editorconfig.
I mean properties, not in the string.
from editorconfig.
As a textmate plugin post has been made on gun.io, Do you think we should fix this? TextMate plugin may probably use the Python core according to #50.
BTW, should the Plugin How-To page be linked on the gun.io post?
from editorconfig.
If the plugin uses a library I believe it would need to use the C core because I don't think Python code can modify TextMate behavior. If no library is used then the Python core would work, but the exceptions wouldn't be used at that point. I may be misinterpreting the documentation I read about TextMate plugins though.
That being said, I still need to figure out how I want to handle passing this information. I want to find some examples of other well-written Python libraries that pass information via exceptions before making a concrete decision about this behavior.
No I don't think we should post the link there. It would probably be appropriate to post it on the TextMate issue or email thread. People looking to show support for a TextMate plugin will probably search for those threads/issues first.
from editorconfig.
You're right. TextMate should be written in Object-C: http://manual.macromates.com/en/appendix#plug-in_api
Thus C library should be used.
I believe it's easier to wrap C to ObjC instead of Python.
from editorconfig.
Related Issues (20)
- ignore directories? HOT 3
- Suggestion: `do_not_modify` key to mark files as "don't touch" HOT 2
- Are settings merged? HOT 6
- `insert_final_newline == false` --- strip EOL, or leave untouched? HOT 14
- C# dotnet project editorconfig rules for space, tab and using section
- .config
- Allow trailing comma = false for Kotlin not working in IntelliJ IDEA with Kotlinter HOT 2
- Komodo HOT 1
- Libeditorconfig meson support HOT 4
- How to have a multiline value HOT 6
- Proposal: "toolconfig" files for use cases beyond `.editorconfig` files HOT 25
- Feature Request: Strip multiple blank lines from the end of the file HOT 3
- Neovim editorconfig integration HOT 4
- cpp_space_before_inheritance_colon not interpreting correctly HOT 3
- Prevent block comments HOT 2
- Wiki link to `EditorConfig-Properties` is 404 HOT 3
- [Question] - line endings git attributes and editor config HOT 2
- property suggestion: save/backup strategy
- Setting Request: Max number of indent levels HOT 7
- Language server for editing `.editorconfig` file? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from editorconfig.