Giter Site home page Giter Site logo

vn-os / dictionary_sublime_text_show_popup_word_definition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from futureprogrammer360/dictionary

0.0 0.0 0.0 368 KB

๐Ÿ“” Sublime Text plugin that shows detailed definitions of words

Home Page: https://packagecontrol.io/packages/Dictionary

License: MIT License

Python 100.00%

dictionary_sublime_text_show_popup_word_definition's Introduction

๐Ÿ“” Dictionary

Dictionary is a convenient Sublime Text plugin that shows detailed definitions of words, including phonetics, parts-of-speech, definitions, and examples.

๐ŸŽฌ Demonstration

Dictionary in dark color scheme

Dictionary in light color scheme

๐Ÿ’ป Installation

The easiest way to install Dictionary is through Package Control. After it is enabled inside Sublime Text, open the command palette and find Package Control: Install Package and press ENTER. Then, find Dictionary in the list. Press ENTER again, and this plugin is installed!

๐Ÿ“ˆ Usage

The plugin includes the command dictionary_define, which can be run in the command palette as Dictionary: Define.

To see the definition of a word:

  • Click on or select that word
  • Run the Dictionary: Define command in the command palette or run the command with custom keybindings (see below)
  • Read and/or copy the definition on the popup

โš™ Customization

The Dictionary plugin is fully customizable.

๐Ÿ”ง Preferences

There are several settings in Dictionary.sublime-settings that you can change to make Dictionary work as you want. The file can be accessed via the Preferences: Dictionary command in the command palette.

Support languages

The following languages are supported by this plugin, and can be used in the settings:

  • en: US English (default)
  • en-uk: UK English
  • ar: Arabic
  • cs: Czech
  • de: German
  • es: Spanish
  • fr: French
  • hi: Hindi
  • it: Italian
  • ja: Japanese
  • ko: Korean
  • nl: Dutch
  • pt-BR: Brazilian Portuguese
  • ru: Russian
  • sk: Slovak
  • tr: Turkish

Hover mode

When hover_mode is set to true in settings, definitions of text under mouse will be shown on hover without having to run a command.

Hover mode can also be toggled via the Dictionary: Toggle Hover Mode (dictionary_toggle_hover_mode) command in the command palette.

โŒจ Keybindings

Custom keybindings can be created for the commands.

  • Run the Preferences: Dictionary Key Bindings command in the command palette.
  • Add your keybindings!

Below is an example of the keybinding file:

[
    {
        "keys": ["ctrl+alt+d"],
        "command": "dictionary_define"
    }
]

Acknowledgment

This plugin is made possible by the Free Dictionary API, which is used for the definitions.

dictionary_sublime_text_show_popup_word_definition's People

Contributors

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