question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Canonical .editorconfig

See original GitHub issue

This is kind of the opposite of #45 – it’d be convenient to have a complete .editorconfig based on the plugin’s current formatting rules, including editor-specific config properties for IntelliJ and any other editors people care to contribute.

Obviously this doesn’t have to be generated by the plugin; it could be a hand-maintained file in the plugin source.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
JavierSegoviaCordobacommented, Mar 4, 2021

Before closing this issue, should be great to add .editorconfig for all styles (Google and Kotlinlang).

Personally, instead of having only one file with comments to change from one style to another, I think should be better to have 4 files:

  • .editorconfig-default
  • .editorconfig-dropbox
  • .editorconfig-google-internal
  • .editorconfig-kotlinlang
0reactions
cgrushkocommented, Jan 4, 2021
  1. A PR sounds great, even if it’s not perfect, especially if there’s a way to add this as a comment in the file.
  2. Is this for the default style or dropbox style?
  3. Should we name the file .editorconfig-ktfmt.txt or something like that? I want to emphasize that it’s not used for the ktfmt project itself, but instead be downloaded and used in other projects. Maybe put it in a subdirectory? editorconfigs? but then it’s less discoverable. Anyway, I’m open to ideas 😃

On Mon, Jan 4, 2021 at 10:59 PM Steven Grimm notifications@github.com wrote:

Here’s a hand-tweaked export of my IntelliJ settings; it isn’t too far off, I think, but I am not confident I’ve gotten everything right (certainly not confident enough to want to submit it as a PR, but if you like, I can do that.)

editorconfig.txt https://github.com/facebookincubator/ktfmt/files/5766761/editorconfig.txt

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/facebookincubator/ktfmt/issues/158#issuecomment-754215347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPH6YKKO4TKBCTFHBBTQC3SYIT3DANCNFSM4VNR6JZQ .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code - GitHub
The official website for the Ubuntu operating system - ubuntu.com/.editorconfig at main · canonical/ubuntu.com.
Read more >
EditorConfig
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs.
Read more >
Editorconfig Core Go - Go Packages
Package editorconfig can be used to parse and generate editorconfig files. ... A Editorconfig file parser and manipulator for Go.
Read more >
.editorconfig · master · Panfrost / mesa · GitLab
editorconfig · Open in Web IDE. Quickly and easily edit multiple files in your project. · Edit. Edit this file only.
Read more >
/.editorconfig | chalk_deno@v4.1.1-deno | Deno
canonic -epicure/chalk-deno. Version. Latest. v4.1.1-deno, v4.1.0-deno. File. 12345678910111213. root = true [*]indent_style = tabend_of_line = lfcharset ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found