-
Notifications
You must be signed in to change notification settings - Fork 30
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
How to use? #12
Comments
Please see the FAQ |
Hello @xuhdev, I appreciate your attention. I was able to do this "auto format using a keybinding" in Atom editor using this approach: http://stackoverflow.com/questions/22611377/auto-indent-code-in-atom-editor/33927654#33927654 This 'custom:reformat' event uses editorconfig settings from plugin (https://atom.io/packages/editorconfig) It is working great and I'm satisfied, but I was looking to reproduce the same behavior in notepad++ with your plugin to offer a option to my teammates instead of Atom. Well, best wishes to you and your plugin. Thanks for your contribution to community. |
EditorConfig is meant to make sure the basic settings are the same between various editors for easier corporation between team members. Not to extend an editor with additional features. What you are asking is an additional features of I understand your question correctly. Look for a code format plugin in the Plugin Manager. |
Dear @ffes, I see you couldn't understand my reasoning, I didn't made myself clear in the last message and will not commit this mistake in this one. I agree with you regarding EditorConfig reason of existence and believe that it is a successful project in its efforts, I even advocate usage of EditorConfig whenever I can to my fellow colleagues. From now on consider this message a feedback, if you're open to community feedback continue reading. The scope of this feedback is the project in this repository, not the whole EditorConfig project. I have a great experience using editorconfig in WebStorm, it is great the UX (maybe you have heard about it in the last months right?) is great, its seamless. I just have a keyboard shortcut that formats everything and it is great! The bad news is that Webstorm is paid and probably many developers by any reason can't afford paying U$ 90,00 in a IDE (probably the major part of them). What anyone would do instead, look for options right? Not taking skills and expertise in consideration, an average user would take some minutes in each option to try and find which fits better to its own needs right? Well the truth is I tried for a couple of minutes to use your plugin, and frankly speaking I'm not sure if it works, as a user (remember? UX?) I could not use it. Maybe If I just had a keyboard shortcut and a README.md documentation entry stating the usage of this shortcut I could see if it works or not... Talking about the plugin, it is a pity because probably you had lot of effort and for a simple thing it prevents it usage by a major audience... Well, best wishes... |
By the way I could achieve this feature of keyboard shortcut thing in Atom |
@bsantanna so in short you would like to see the "Fix File" command as available in the Atom ConfigEditor plugin be implemented in the Notepad++ ConfigEditor plugin? |
It might be a good feature to be added to project backlog @MAPJe71 Kind regards, @bsantanna out (drops mic) |
@bsantanna presuming that's a yes: please reread answer by @ffes. |
That's a no, I won't use it anymore.
…--
Bruno Sant'Anna
On 11 Jan 2017, at 01:27, Menno Vogels ***@***.***> wrote:
@bsantanna presuming that's a yes: please reread answer by @ffes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@bsantanna I misunderstood your question the first time. I will open a new issue with the feature request for a "Fix file" option. I think you are right that having this feature would be an improvement to the plugin, but there are some things to be aware of here. Notepad++ is not that great in putting the indenting right. Other editors have much more knowledge of the various programmings languages they are working with and how to indent those files properly. When I need to reindent a file to convert spaces to tabs or vise versa, I use Adding a "Fix file" option in the plugin is not too difficult either, but requires some more thought (checking settings, what can be fixed, etc) and work. So don't hold your breath. It could take a while ;-) Also note that "fixing files" can lead to big changes and therefore big git diffs, which is not always what you want in a project. Not a problem per se, but just something to be aware of. |
Hello there, thanks for creating this plugin.
Well, I installed it successfully but now I'm having trouble to use it. How to map it to a keybinding?
If I select a a code block, how to format this selection?
I'm missing this documentation, it would be great!
The text was updated successfully, but these errors were encountered: