Coder Social home page Coder Social logo

Comments (9)

aaronjensen avatar aaronjensen commented on August 16, 2024

there's a plugin that does tab detection i thought... that is cool too.

from atomfiles.

aaronjensen avatar aaronjensen commented on August 16, 2024

https://atom.io/packages/guess-indent try that and see if it helps?

from atomfiles.

aaronjensen avatar aaronjensen commented on August 16, 2024

oh this one looks more used: https://atom.io/packages/auto-detect-indentation

from atomfiles.

a-b-r-o-w-n avatar a-b-r-o-w-n commented on August 16, 2024

Is there a way to configure this on a per language basis?

from atomfiles.

aaronjensen avatar aaronjensen commented on August 16, 2024

@astephenb the link @radamant put in there has some notes on how to do this which we should do

from atomfiles.

radamant avatar radamant commented on August 16, 2024

I want this for new files as well, so I'm not sure that any package that looks at file contents to determine tab width will work.

from atomfiles.

aaronjensen avatar aaronjensen commented on August 16, 2024

@radamant ya, I think the solution in that discuss link will work great. The auto detect is more for OSS contribution where you have to adhere to what they do even if it's wrong.

from atomfiles.

gmusick avatar gmusick commented on August 16, 2024

BTW, the official docs for how to do this are here: https://atom.io/docs/latest/using-atom-basic-customization#language-specific-configuration-settings.

from atomfiles.

radamant avatar radamant commented on August 16, 2024

@gmusick Fresh. I'm going to make this happen.

from atomfiles.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.