Codeanywhere has introduced a new and improved
VS Code based editor with a completely revamped experience.
Find out here how to access it.
Codeanywhere offers you a wide range of predefined templates
:
You should use a template or a programming language which best fits your programming needs. If you wish to create a custom template, you can do so by following these instructions.
Codeanywhere offers their users the ability to create the following types of connections:
Don't know how to create a new connection? Learn here.
Codeanywhere now allows you the collaborate on projects as a Team
. Find out here how to activate it.
Collaborative programming is enabled by default
in Codeanywhere. All you need to do is invite a friend and start coding.
Unfortunately, it isn't possible to edit container configuration details.
This section will be implemented soon. Feel free to help us by contributing to our documentation.
See our detailed explanation here.
Codeanywhere offers you the ability to use custom VSIX
extensions in the IDE. Find more information here.
You can find out more information about the Preview Ports
widget here.
Our new IDE does not support third-party connections. You can still browse them inside the old IDE found here.
Coding Sessions
are collaborative programming sessions with more than one participant. They provide a way for users to collaborate on their code in real-time with collaboration terminals and a fully integrated chat.
Codeanywhere doesn't limit
the number of users that can participate in a coding session.
Codeanywhere doesn't limit
the number of concurrent coding sessions.
Codeanywhere offers their users the ability to share their containers and projects with their friends and coworkers.
Find out here how to invite other users.
Containers
are like your own Virtual Private Servers (in essence they are OpenVZ OS containers) provisioned by Codeanywhere, each one with its own amount of RAM, disk space and processing power.
Containers give you the ability to provision any development environment you like. You can choose between one of the many predefined templates which Codeanywhere offers.
Learn how to create a container here.
Codeanywhere offers support for a wide range of programming languages in the shape of the following predefined templates:
If you wish to use a different programming language, you can do so by creating a container with a Blank
template, and installing the necessary dependencies in the container terminal.
Codeanywhere users can choose from a wide variety of extensions from the OpenVSX registry.
Find out here how to install extensions from the marketplace.
Connecting your existing FTP connection to a container is pretty straight-forward. Open the IDE for any of your created containers and navigate to the Connections
widget in the sidebar.
If you have already created an FTP extension, you will now be able to interact with it in the IDE.
You can work directly with your repositories in the IDE. Find more information here.
You can connect to all of your containers via SSH. You can find the host
and port
of your container by navigating to Help -> Getting Started
.
Note: The username for the SSH connection is always cabox
For the above container, you would connect via SSH by entering the following command in the terminal:
ssh cabox@host30.codeanyhost.com -p 42293
Note: You have to authorize your private key to enable the SSH connection.
To authorize yourself to access your container, you will have to add your public key to the
~/.ssh/authorized_keys
file.
To generate a key pair enter the following command into your terminal and select the destination where you want the keys to be generated:
ssh-keygen -t rsa
Once the keys have been generated, copy the id_rsa.pub
(If you chose a different name for the keys, make sure you select the one with the .pub
extension).
Paste the key inside of the ~/.ssh/authorized_keys
file inside your container.
vi ~/.ssh/authorized_keys
(:wq
to close and save when you're done).
After you start your server application, click on the Open Browser
button when it shows up at the bottom of your screen. If you close the widget, you can always find your public port in the Preview ports widget.
You can find the public link for your API in the new tab which will open in your browser window.
https://port-3000-my-app-fabjanv.codeanyapp.com/
You can use that link as the base URL for your API and send specific requests to it using the Postman platform.
The Always-on feature means that your container won't be stopped, and it isn't. It's the process that is being stopped. To avoid this you'll need a supervisor program to run your application.
There are plenty of supervisor programs available for Node.js but we strongly advise you to use PM2 - Keymetrics You can simply install it globally by running:
npm install pm2 -g
After that just run your application with:
pm2 start APP_SCRIPT.js
Navigate to the Two-Factor authetication section in the Account
page and toggle the switch.
Scan the QR code with your authentication app and enter the confirmation code.
Emmet is enabled by default
in your container workspace, including when collaborating with others.
Note: Auto-closing tags are currently not supported.
If your email has not been verified, you should see a banner with an option to Resend
the verification email.
You don't need to set a password if you use Google, Facebook, GitHub or Bitbucket as a registration method. Nevertheless, if you want to set a Codeanywhere password, learn here how to do it.
Go to File -> Open
and click the up arrow to see your old files.
In mobile devices the keyboard default configuration has autocomplete functions activated. You need to disable predictive text, automatic replacement, and automatic spell check and it will work fine without duplicated text.