This repository is a tutorial for beginners. It could help you get familiar with aiXcoder quickly.
This tutorial has 5 parts:
- What is aiXcoder?
- Where to get aiXcoder?
- Usage examples
- Uninstalling aiXcoder
- General questions (FAQ)
For more information, please read our wiki pages.
AiXcoder is an AI-based software development assistant tool.
AiXcoder 2.0 is the first deep-learning-based code completion engine that runs on your local computer. It uses a new powerful deep learning model to improve both accuracy and efficiency. Due to all calculations are performed locally, aiXcode ensures the security of your code.
AiXcoder 2.0 is very easy to download and install from the mainstream IDE's Marketplace.
Open "Preferences" from the IntelliJ IDEA menu. Go to "Plugins" tab and select "Marketplace", and then search for "aiXcoder" to install.
Click "Help" from the Eclipse menu and select "Eclipse Marketplace". Search "aiXcoder", Click "Browse for more solutions".
On a new page, we will see aiXcoder plugin. Drag to Eclipse workspace, it will be installed.
Open "Preferences" from the PyCharm menu. Go to "Plugins" tab and select "Marketplace", and then search for "aiXcoder" to install.
Click "Extension" on the left. Search "aiXcoder" and click Install.
When the aiXcoder plug-in is installed, it will download the aiXcoder server automatically. Depending on the network environment, this process may take 10-30 seconds.
After downloading the aiXcoder server, the IDE will initialize the aiXcoder code completion service. It may take a while to prepare the environment, ie., the model, for the first startup. Users can write code during installation, and aiXcoder will automatically start to provide predictions when it is ready.
AiXcoder 2.0 only gives two suggestions, one for short prediction, the other for long prediction. The short prediction could be a variable name, or some other single "term", that we want to use during the coding process. The long prediction produces a line of code which may construct a piece of code logic.
To completely remove aiXcoder from your system, there are two steps to follow.
To uninstall aiXcoder, you can find the installed "aiXcoder Code Completer" on the Plugins tab, and click uninstall.
- For Windows, remove all files in "%USREPROFILE%/aiXcoder"
- For MacOS, remove all files in "$HOME/Library/Application Support/aiXcoder", and all files in "~/aiXcooder"
- For Linux, remove all files in "$HOME/aiXcoder"