Git Product home page Git Product logo

Comments (6)

sglyon avatar sglyon commented on May 17, 2024

Although it is a bit tricky as we will need to think about where to start applying normal behavior to .

I think that we will always see syntax specific settings of the form .scopename.(text|source).SETTINGS.

UPDATE: nevermind, that isn't always true. I have this in my config also:

".latex.tex.text":
  editor:
    tabLength: 2

Maybe we adopt conventions that if we see a leading . in a config, we have the user set the value as a map. So in my example I could do:

[".latex.tex.text" {:editor {:tabLength 2}}]

or

[".latex.tex.text" {"editor.tabLength" 2}]

Any thoughts?

from proton.

dvcrn avatar dvcrn commented on May 17, 2024

So what proton currently does is, it just takes the config string (`".latex.tex.text") and passes that straight into the atom API for setting a setting.

Yeah we should definitely try to collect all the settings for the user and push it into an array in these cases or something like that

from proton.

sglyon avatar sglyon commented on May 17, 2024

Ping, I'm still missing this. Has anyone put any thought into how this might work.

What if we just have a "raw-config" variable people can set in their .proton that we copy/paste directly into ~/.atom/config.cson. It would be totally un-checked and un-verified and would escape the rest of the proton system, but it would give users access to set anything atom can handle.

from proton.

geksilla avatar geksilla commented on May 17, 2024

@spencerlyon2 for now you can disable wiping configuration and put configs manually via Settings View 😒 I will try to take care about this issue when will have some time.

from proton.

dvcrn avatar dvcrn commented on May 17, 2024

I think that raw-config thing can be a good short time solution. I'm just worried that people will end up using it for everything 😅

from proton.

geksilla avatar geksilla commented on May 17, 2024

Fixed in #169

from proton.

Related Issues (20)

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.