ABAP-use Vim as the ABAP Editor

Source: Internet
Author: User
Tags sap gui
ABAP-use Vim as the external editor of ABAP

Http://blog.gnolux.com/2010/03/15/vim_10031501.html

The ABAP editor in sapgui7 is very good, but I recently used the Ubuntu system, using the for Java GUI, which is extremely difficult to use. So I wonder if I can replace it with the editor I used to use? In fact, SAP considers this interface.
Click utilities-> after setting, as shown in the following figure:

Select back-end editor and save the temporary ABAP in path for local editing.CodeDirectory

Click utilities-> more utilities-> local editing. An application is displayed when the application is used for the first time.ProgramInterface, such:

 

Fill in your commonly used editor. Of course, you have to install the Corresponding Editor in your system. I use vim, which is usually provided in Linux. I set it to gvim-f.
There are some special settings in Vim. Let's talk about them later... first, let's take a look. There are pictures with truth ..

After editing, exit vim and update it to the sap gui automatically. Then you need to save and activate it yourself.

Note:

Me
Some problems found when using vim, if the application is set to gvim
After it is opened, the system will automatically prompt that the temporary ABAP code file is deleted, and the sap gui also loses control over the gvim process. In Windows
This problem was not found. After analysis, it should be a problem of gvim itself. Find the help of gvim and find a-f
Parameter, indicating that the new process is not started. This is the reason. By default, VIM restarts a process to open the file, and the first process automatically exits. SAP GUI
The first process is monitored. When it is found that the process has exited, it is deemed to have been edited, so the temporary code will be deleted.

Set gvim-F to OK. In vim, you can use set filetype = ABAP to enable syntax highlighting, but I don't want to lose it every time. I also defined a. vimrc Startup File and used it to start it.

In this way, the final command is set to: gvim-f-u/home/gnolux/develop/ABAP. vimrc

Automatically retrieve the Startup File under the develop/ABAP directory.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.