Tag Archives: atom

Solution for successful but invalid atom minimap installation

To be honest, atom and its plug-ins are very powerful, but the installation process is very painful. I installed the minimap mini map plug-in, but it didn’t work in any way. There was no response in toogle in the menu, and there was almost no information.

Cause of error: I interpret it as a conflict between minimap and other plug-ins. The most controversial plug-in is activate power mode. The combo effect on the right side just occupies the position of the small map. Even if it is disabled, it is not easy to use. It must be uninstalled. At that time, he installed it just for fun. It’s easy to be blind after a long time, so he decisively unloaded it.

Solution: uninstall activate power mode, restart atom and get it done.

How to run Python program directly with atom

Now there is a better way, this method can only run the default py interpreter, please click [https://mp.csdn.net/mdeditor/84959016#] to check the new method
Introduction:
Atom is a very useful editor, but it can’t run a terminal, so let’s see how to run A Python program on Atom.

    open your atom editor and press CTRL +shift+p to enter setting enter or click file to select install. Click the search box to search for atom-python-run or script
    . Bye bye

Configuring C + + environment with atom under ubuntu1404

[Local Environment]
Operating system: Ubuntu 14.04 64bits

1. Atom download address
Download address: https://atom.io/
Select the version: Download.deb
Open Atom: Enter Atom into the terminal. The Atom interface is shown below:

Atom’s interface looks like this:

In the welcome Guide there is “Install a Package”, click on “Open Installer” as shown below:


2. Install the following three plug-ins:

Linter – GCC linter GCC – make – run

As shown in the figure below: to Install linter-gcc, click “Install”. Linter is the same as GCC-make run

3. Modify the linter-GCC path:

Refer to the figure above and click “Setting” under linter-gcc: make sure the path /usr/bin/g++


Scroll down and check “Lint on-the-fly”. If not checked, code will only be compiled if the file is saved, as shown below:

The effect of the check is as follows:

After installation, press “F6” to compile and run the program. Write a small program to test as follows.

Two plug-ins are recommended to be installed in the same way as the previous plug-ins:

activate-power-mode

Effect:


minimap

Effect:

A similar thumbnail to sublime Text, shown in the upper right corner of the applet test.

Python and other development environments can also be configured under Atom, and you can be interested in baidu below.

Atom live server plug-in installation

Github search plugin

copy plugin address:
The default directory is: C:\Users\14041\.atom\packages
Win +R — CMD goes to the command line.
Enter CD C:\Users\14041\.atom\packages enter the installation directory.
Enter git clone https://github.com/jas-chen/atom-server.git (where the first step of the plugin is copied), return to the car, and start to download.
once downloaded, the packages directory contains an additional atom-lie-server folder:
3. The first installation requires node. js environment configuration
. Download the official website address: node. js
.
4, install
into the directory of plug-ins: CD C:\Users\14041\ atom\packages\atom-live-server
enter: NPM install

Successful installation. Atom shows