Coder Social home page Coder Social logo

atom-atomenv's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

atom-atomenv's Issues

Possible to specify env per project within Atom dir

It would be great to push environment variables per project, using an env file within the Atom dir. E.g.:

{
    "atom-atomenv" : {
        "env": {
            "FOO": "bar"
        }
    },
    "my-project": {
        "env": {
            "FOO": "bar"
        }
    }
}

To set variables for all projects, you can use the * like Atom does for the config file, e.g.:

{
    "*": {
        "env": {
            "FOO": "bar"
        }
    },
    "atom-atomenv" : {
        "env": {
            "FOO": "bar"
        }
    }
}

Global Env File

I've tried creating an .atomenv.cson file in my .atom directory and did the auto-load but when I try to use the variables in the .atomenv.cson file they don't render except as plain text and the file is in the same directory as the atom config.cson

.atomenv.cson

env:
  beautifyAnalyticsUserId: "..."
  exceptionReportingUserId: "..."

config.cson

"*":
  "atom-beautify":
    general:
      _analyticsUserId: "${atom.config.get('atomenv.env.beautifyAnalyticsUserId')}"

This part though when loading it shows it loaded Atomenv in the console but when I run atom.config.get() I do not see atomenv in the array

I've even tried

"*":
  "atom-beautify":
    general:
      _analyticsUserId: "${env.beautifyAnalyticsUserId}"

Is it not meant to run as global environment or am I missing something?

atomenv with go-plus?

Is possible use atomenv and GOPATH definition with go-plus package? I setup .atomenv.json in my project directory, but when I open new project the go-plus pkg still have old (default) GOPATH value... ๐Ÿค”

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.