Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How-to paste text into the Cloud9 editor?

I want to copy a URL (or any text) and paste that into Cloud9. Doesn't work. In other words, if I have some text in my tablet's clipboard, I can't paste it into the Cloud9 editor.

(I can paste URLs into this editor just fine.)

From what I can tell, you can only cut-paste text that originated inside the Cloud9 editor. So far I've tried Opera and Google Chrome for Android. Going to try Firefox next...

like image 856
PJ Brunet Avatar asked Jan 31 '15 23:01

PJ Brunet


People also ask

How do you indent on Cloud 9?

Cloud 9 interface with settings button preferences in upper right, and on the left, changing the indent for a project.

Where are Cloud9 files stored?

Any data that you store in your AWS Cloud9 environment such as code files, packages, or dependencies is always stored in your resources. If you use an EC2 environment, your data is stored in the associated Amazon Elastic Block Store (EBS) volume that exists in your AWS account.


2 Answers

I'm having similar trouble with Cloud 9's IDE too; also on a Mac. One solution I found was to highlight the code you want to copy/paste and drag it onto the code editor. The code I wanted was on this page in one of the examples. A standard Cmd+C didn't work, nor did selecting 'copy' from a right click - the drag & drop is all I have found that works.

like image 74
OnlySteveH Avatar answered Sep 18 '22 17:09

OnlySteveH


I'm using Firefox 44.0.1 This worked for me.

  1. Go to about:config
  2. Search for dom.event.clipboardevents.enabled
  3. Double-click it to change the value to true

Now you can copy and paste freely from within or from outside of the cloud9 editor. No boundaries. It's amazing!

like image 25
AIon Avatar answered Sep 22 '22 17:09

AIon