Code Monkey home page Code Monkey logo

org.eclipse.jface.text's Introduction

org.eclipse.jface.text

Modified plugin for auto completion in eclipse 修改eclipse自动补全插件

Version

org.eclipse.jface.text_3.9.2.v20141003-1326

Description

If you can read Chinese please visit here. Pelloz's Blog
This plugin is taken from eclipse 4.4.2 and is modified a little to improve auto completion user experiences.
Generally, it enables Tab key to down select word candidates. Also it disables some annoying auto completion behaviors like ";""=""space".
The position I modified is "org.eclipse.jface.text/src/org.eclipse.jface.text.contentassist/CompletionProposalPopup.java",from line 1361 to line 1371. ###Modify: fProposalShell.setFocus(); returnfalse; ###To: insertSelectedProposalWithMask(e.stateMask); break;

###Modify: if(contains(triggers, key)) ###To: if(key!=0x20&& key!='='&& key!=';'&& contains(triggers, key))

It is recommended that the user set 'Window->Preferences, Java->Editor->Content Assist, Content Assist->Auto Activation->Auto Activation triggers for java' to ' .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_'

#How to use Use Eclipse to Import the whole source to workspase,check the code like above,then Export->Deployable plugins and fragments,click Next,choose Destination TabControl,choose Directory and Finish.A new file was generated like "org.eclipse.jface.text_3.9.2.v20141003-1326.jar",copy the jar file to Eclipse's installation directory "./eclipse/plugins/" and cover the original one.Of coures you'd better to backup the original one for insurance purposes.At last,reboot the Eclipse.

#How to download the original code source I download the source from here.

org.eclipse.jface.text's People

Contributors

pellozhang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.