Giter Club home page Giter Club logo

alpaca_tags's Introduction

alpaca_update_tags

概要

ctagsの生成を便利にしよう!

  • vimprocを使って、非同期でtagsの生成
  • Ruby/Bundlerに対応して、必要最低限のtagsのみを非同期生成

Demo

Version2 変更点

1. 変数名の変更

  • g:alpaca_tags_config -> g:alpaca_tags#config
  • g:alpaca_tags_ctags_bin -> g:alpaca_tags#ctags_bin
  • g:alpaca_tags_cache_dir -> g:alpaca_tags#cache_dir
  • g:alpaca_tags_disable -> g:alpaca_tags#disable

2. コマンド名の変更

:Tagsは他のプラグインとコマンドが被るため、prefixを追加

  • Tags -> AlpacaTags
  • TagsBundle -> AlpacaTagsBundle
  • TagsUpdate -> AlpacaTagsUpdate
  • TagsSet -> AlpacaTagsSet
  • TagsCleanCache -> AlpacaTagsCleanCache

3. 全面的にリファクタリングを行った

  • .git/working_dir.tagsの代わりに、g:alpaca_tags#cache_dir以下にtagsを生成する
  • 今までは実行ファイルを非同期で呼び出していたが、全てVimScriptで行うようにした
  • SVNに依存しなくなった。SVN管理下にないディレクトリは、そのファイルがあるディレクトリを起点に処理を行う。
  • unite-tagsを削除
  • 生成中のtagsを読み込む事がなくなった。生成が完了してから、tagsを新しいものに置き換える。
  • processの監視で、処理の長いプロセスを殺せるようにした。

alpaca_tags's People

Contributors

alpaca-tc avatar taktos avatar

Stargazers

 avatar

Watchers

nakatakeshi avatar James Cloos 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.