Is there a way to open a file not from the workspace tree view but from the c9-terminal tab?
Background: c9 doesn´t allow me to set the workspace path to / for a user who doesn´t have write access there. But I´d like have a look around and change files outside of the main project directory (virtual hosts, php ini, etc). Using the terminal I can roam around everywhere my user has read access.
At the moment, the only way to open a file from the terminal is in vim or by using ls and then clicking on the file you'd like to open.
Click on the top icon first and then when a new menu opens click on the bottom icon as shown with red circle. In each window, open a new terminal byclicking on + tab and select New Terminal as shown in the picture below.
If you're the only one using your AWS account or you're an IAM user in a single AWS account, go to https://console.aws.amazon.com/cloud9/ . If your organization uses AWS IAM Identity Center (successor to AWS Single Sign-On), ask your AWS account administrator for sign-in instructions.
At the moment, the only way to open a file from the terminal is in vim or by using ls
and then clicking on the file you'd like to open.
Edit: You can now open from the terminal by running npm install -g c9
, restarting your workspace, then doing c9 file.ext
or c9 open file.ext
Borrowing from here,
c9 open <filename>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With