Comments (1)
如果你通过点击程序运行PyCharm,PyCharm是不知道当前的terminal对应的环境信息的。 PyCharm支持从命令行启动,这样就可以继承当前环境的所有信息,你使用进入项目目录后,然后通过pycharm .
这种方式试试。 注意: 不能有其他Pycharm实例已经运行啦,不然会从已经运行的PyCharm实例那边获取环境信息。
这种环境切换的问题,最好介入一下PATH变量,如针对Node.js的场景,just给出的方案如下,官方README有说明。
export PATH := "./node_modules/.bin:" + env_var('PATH')
这个问题一直都是有的,如不在项目目录下,你执行 just --justfile d:\app1\justfile abc
同样也没法给你激活项目的环境要求的,最好能够在justfile中指定一下环境变量信息,这样在任何目录和环境下都可以运行justfile中的recipe。
from jetbrains-just-plugin.
Related Issues (20)
- Feature request: syntax highlighting / inspection for inline shell scripts HOT 7
- [Feature Request] - Popup menu for executing Just recipes HOT 6
- Only 80 columns used on Windows HOT 1
- New Justfile action overwrites existing file without prompt
- Feature: Running just recipes as Run configuration HOT 1
- Justfile icon too small
- If/Else blocks without spaces surrounding commands aren't highlighted correctly HOT 1
- expressions in recipe dependencies not supported
- IntelliJ plugin crash, no longer works HOT 1
- Justfile no longer works, but no errors are reported HOT 1
- line breaks marked as error HOT 5
- Import statement causes syntax error HOT 1
- Support 2024.1 HOT 2
- Document is locked by write PSI operations
- Syntax highlighting fails with double quotes inside triple quotes HOT 3
- Plugin doesn't understand escaped line breaks in dependencies
- Update syntax to support recipe attribute confirm("prompt") HOT 2
- Parameter with default value leads to invalid syntax error from plugin.
- Escape sequences in PyCharm's console on Windows
- invalid sequence
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetbrains-just-plugin.