All Projects → Aqzhyi → Sublime Better Completion

Aqzhyi / Sublime Better Completion

DEPRECATED, use TypeScript!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Sublime Better Completion

Sublime Text Plugins For Frontend Web Development
📝 Collection of plugins for Frontend Web Development
Stars: ✭ 1,127 (+229.53%)
Mutual labels:  sublime-text, frontend
Beeva Best Practices
Best Practices and Style Guides in BEEVA
Stars: ✭ 335 (-2.05%)
Mutual labels:  frontend
Betterjob Of Frontend
【BJF】你有故事我有酒,我有大厂前端岗内推机会,你有简历吗?
Stars: ✭ 309 (-9.65%)
Mutual labels:  frontend
Fe Interview
前端面试每日 3+1,以面试题来驱动学习,提倡每日学习与思考,每天进步一点!每天早上5点纯手工发布面试题(死磕自己,愉悦大家),5000+道前端面试题全面覆盖,HTML/CSS/JavaScript/Vue/React/Nodejs/TypeScript/ECMAScritpt/Webpack/Jquery/小程序/软技能……
Stars: ✭ 19,638 (+5642.11%)
Mutual labels:  frontend
Fritz2
Easily build reactive web-apps in Kotlin based on flows and coroutines.
Stars: ✭ 308 (-9.94%)
Mutual labels:  frontend
Frontend Vscode Extensionpack
(820+ Users) Handpicked collection of vscode extensions for FE development. Get the extension @ https://marketplace.visualstudio.com/items?itemName=solodynamo.frontend-vscode-extensionpack
Stars: ✭ 329 (-3.8%)
Mutual labels:  frontend
Pattern.css
CSS only library to fill empty background with beautiful patterns.
Stars: ✭ 3,481 (+917.84%)
Mutual labels:  frontend
Gosublime
A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
Stars: ✭ 3,421 (+900.29%)
Mutual labels:  sublime-text
React Fontawesome
Font Awesome React component
Stars: ✭ 3,466 (+913.45%)
Mutual labels:  frontend
Upme Plus
Smart Automation inside your browser for free. Start earning and double your followers
Stars: ✭ 318 (-7.02%)
Mutual labels:  frontend
Uix Kit
A free UI toolkit based on some common libraries for building beautiful responsive website, compatible with Bootstrap v4.
Stars: ✭ 318 (-7.02%)
Mutual labels:  frontend
Plaintasks
An opinionated todo-list plugin for Sublime Text editor (version 2 and 3)
Stars: ✭ 3,230 (+844.44%)
Mutual labels:  sublime-text
Redux Requests
Declarative AJAX requests and automatic network state management for single-page applications
Stars: ✭ 330 (-3.51%)
Mutual labels:  frontend
Microfronts
Polyglot Front-End Solution for running multiple frameworks as one
Stars: ✭ 312 (-8.77%)
Mutual labels:  frontend
Themer Gui
A graphical UI for themer. Replaced by Progressive Web App at https://themer.dev.
Stars: ✭ 337 (-1.46%)
Mutual labels:  sublime-text
Ilc
Isomorphic Layout Composer - complete solution for Micro Frontends composition into SPA with SSR & i18n support
Stars: ✭ 308 (-9.94%)
Mutual labels:  frontend
Djreact
A simple introduction to integrating Django and React.
Stars: ✭ 317 (-7.31%)
Mutual labels:  frontend
Awesome Cheatsheets
👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
Stars: ✭ 26,007 (+7504.39%)
Mutual labels:  frontend
Javascript Completions
JavaScript Completions for sublime text. It helps you to write your scripts more quickly with hints and completions.
Stars: ✭ 341 (-0.29%)
Mutual labels:  sublime-text
Sublimetutor
An interactive in-editor keyboard shortcuts tutorial for Sublime Text 3
Stars: ✭ 336 (-1.75%)
Mutual labels:  sublime-text

Sublime Better Completion Package

手刻的浪漫

This package aim at provide a simpler way to build own auto-completions and avoid *.sublime-completions override word-completion wrongly in some circumstance (issue#3).

auto-completion is lightweight, easier, simpler than snippets.

This package also provide several APIs completions such as JavaScript, jQuery, Lodash, Underscore, HTML5, CSS3 and Bootstrap Classes, React.js, etc

Compatible

Should be working fine with ST2 and ST3.

2015/02

  • Sublime Text 3 with MAC OS X 10.10.2 using Package Control tested!

2014/08

  • Sublime Text 3 with MAC OS X 10.9.4 manual installed tested!

2013/09

  • Sublime Text 3 with MAC OS X 10.8.4 using Package Control tested!

  • Sublime Text 2 with MAC OS X 10.8.4 using Package Control tested!

2013/07

  • Sublime Text 2 with Windows 8 64bit tested!

  • Sublime Text 2 with Windows 7 32bit tested!

  • Sublime Text 3 with Windows 8 64bit tested!

Why this package?

  • Several API completions ready to enable.

  • More API completions create easier.

  • Compared with *.sublime-snippet files:

    Simpler to build own API completions.

  • Compared with *.sublime-completions files:

    This package will avoid *.sublime-completions override word-completion wrongly:

    • In English:

      It seems like when scope matched would be override word-completions provide by sublime itself. refer to issue#3.

    • In Chinese:

      一但 scope 匹配成功之後,自製的 auto-completion 雖然能夠順利工作;但是它也會覆蓋掉原本 word-completion。因此,只有在自製的辭彙的 scope 完全沒匹配時,才會正常地顯示原本的 word-completion,卻沒有將它們融合在一起顯示。這使得可被選擇的 completions 將會有所遺失。

Preview

Support APIs see Setting section.

JavaScript and jQuery 1.9

Twitter Bootstrap 2 and 3

Setting

Make your own API files that contains keyword such as html, jquery, myglossary as filename sbc-api-${filename}.sublime-settings and place them in /packages/User/.

{
  // --------------------
  // sublime-better-completions-Package (sbc package)
  // --------------------
  // API files is contains the *keyword* such as `html`, `jquery`, `myglossary` with lowercase as filename `sbc-api-${filename}.sublime-settings` place in `/packages/User/` (your own) or `/packages/${this-package}/sublime-completions/` (package build-in).
  // After you enable, disable or added new your own completions, you might need restart your Sublime Text Editor.
  //
  // Your own setting file `sbc-setting.sublime-settings` need to place in `/packages/User/` and contains all your api setting property that you want to enable.
  //
  // --------------------
  // APIs Setup
  // --------------------
  // `true` means enable it.
  // `false` means disable it.
  "completion_active_list": {
    // build-in completions
    "css-properties": false,
    "gruntjs-plugins": false,
    "html": false,
    "lodash": false,
    "javascript": false,
    "jquery": false,
    "jquery-sq": false, // Single Quote
    "php": false,
    "phpci": false,
    "sql": false,
    "twitter-bootstrap": false,
    "twitter-bootstrap-less-variables": false,
    "twitter-bootstrap3": false,
    "twitter-bootstrap3-sass-variables": false,
    "underscorejs": false,
    "react": false,

    // Your own completions?
    // ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/sbc-api-my-angularjs.sublime-settings
    "my-angularjs": false,

    // ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/sbc-api-my-glossary.sublime-settings
    "my-glossary": false,

    // ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/sbc-api-my-html.sublime-settings
    "my-html": false,

    // ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/sbc-api-my-javascript.sublime-settings
    "my-javascript": false
  }
}

After you enable, disable or added new your own completions, you might need restart your Sublime Text.

API References

Installation

  • Using Package Control to install.

    Waiting download.

    CTRL+SHIFT+P or CMD+SHIFT+P type in sbc settings user to open user setting file

    Paste setting json. (see Setting section)

    Enable your favorite APIs.

    Restart your sublime text app.

    Happy programming.


Relevant issues

How to trigger completion hint when every typing?

Open file Packages/User/Preferences.sublime-settings or click Setting - User from menu. In my case, I just setup the auto_complete_triggers property as follow:

{
  "auto_complete_triggers":
  [
    {
      "characters": "qazwsxedcrfvtgbyhnujmikolpQAZWSXEDCRFVTGBYHNUJMIKOLP",
      "selector": "text, source, meta, string, punctuation, constant"
    }
  ]
}

It will active most of scope triggers and most of characters.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].