Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
guard-ctags-composer
Advanced tools
=
Guard-CTags-Composer generates ctags for your PHP project and for vendor
libs.
For project tags file tags
is generated, for vendor tags file gems.tags
is generated.
composer install
in your project, vendor.tags
file is automatically is generated or updated.tags
file is automatically generated or updated.Make sure you have Guard installed.
Install the gem:
$ gem install guard-ctags-composer
Add a basic setup to your Guardfile
:
$ guard init ctags-composer
$ guard
For more info, read Guard usage doc
:src_path => ".", # source path to be scanned for tags (default `src`)
:vendor_path => ".", # source path to be scanned for vendor tags (default `vendor`)
:name_patterns => ["\\*.php", "\\*.yml"], # name patterns to search for (default `["\\*.php"]`)
:emacs => false, # run ctags in emacs mode and merge `tags` and `vendor.tags` into `TAGS` file
For a typical Symfony2 application, Guardfile
can look like this (default):
guard 'ctags-composer', :src_path => ["src"], :vendor_path => ["vendor"] do
watch(/^(src)\/.*\.php/)
watch('composer.lock')
end
Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility. A tag signifies a language object for which an index entry is available (or, alternatively, the index entry created for that object).
In ubuntu you can install ctags by running
$ sudo apt-get install exuberant-ctags
Vim supports ctags by default. All you need to do is add your vendor.tags
file to the Vim's tag stack.
set tags+=vendor.tags
Ctags can be used with emacs too. Add :emacs => true
option to your Guardfile and ctags will be generated with -e
option:
guard 'ctags-composer', :emacs => true do
watch(/^(src)\/.*\.php/)
watch('composer.lock')
end
This version is a forked edition of guard-ctags-bundler
gem.
FAQs
Unknown package
We found that guard-ctags-composer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.