Coder Social home page Coder Social logo

company-posframe's Introduction

Note: this file is auto converted from company-posframe.el by el2org, please do not edit it by hand!!!

目录

  1. company-posframe README
    1. What is company-posframe
    2. How to use company-posframe
    3. Tips
      1. How to reduce flicker when scroll up and down?
      2. Work better with desktop.el
    4. Note

company-posframe README

What is company-posframe

company-posframe is a company extension, which let company use child frame as its candidate menu.

It has the following feature:

  1. It is fast enough for daily use.
  2. It works well with CJK language.

img

How to use company-posframe

(require 'company-posframe)
(company-posframe-mode 1)

Tips

How to reduce flicker when scroll up and down?

In windows or MacOS system, company candidates menu may flicker when scroll up and down, the reason is that the size of posframe changing rapid, user can set the minimum width of menu to limit flicker, for example:

(setq company-tooltip-minimum-width 40)

Work better with desktop.el

The below code let desktop.el not record the company-posframe-mode

(require 'desktop) ;this line is needed.
(push '(company-posframe-mode . nil)
      desktop-minor-mode-table)

Note

company-posframe.el is derived from Clément Pit-Claudel's company-tooltip.el, which can be found at:

company-mode/company-mode#745 (comment)

Some quickhelp functions is come from:

company-quickhelp

company-posframe's People

Contributors

aaronjensen avatar akirak avatar celeritascelery avatar dgutov avatar galeo avatar hedning avatar ilohmar avatar kiennq avatar knu avatar lafrenierejm avatar mbuczko avatar meltws avatar tumashu avatar yyoncho avatar yyr avatar

Watchers

 avatar  avatar  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.