GithubHelp home page GithubHelp logo

Comments (8)

Shougo avatar Shougo commented on July 19, 2024

To use tag/include, you must install neoinclude plugin.
https://github.com/Shougo/neoinclude.vim

If you want to use auto generated tags by tagbar and jsctags, you should use :Unite tag.

from unite-tag.

hatelove85911 avatar hatelove85911 commented on July 19, 2024

I've installed neoinclude plugin, I've installed jsctags, I have following configuration in my vimrc.

let g:neoinclude#ctags_commands = {
    \ '_' : 'ctags',
    \ 'javascript' : 'jsctags'
    \ }

let g:neoinclude#ctags_arguments = {
    \ 'javascript' : '-f'
    \ }

But it still doesn't work: I tried

  1. Unite tag
  2. Unite tag/include
  3. Unite tag:%
  4. Unite tag/include:%

What's the problem here?

from unite-tag.

Shougo avatar Shougo commented on July 19, 2024

Please upload sample javascript file.
I will test it.

from unite-tag.

Shougo avatar Shougo commented on July 19, 2024

Do you know unite-tag feature?
For Unite tag, you must specify 'tags' option.

For Unite tag/include, I will test it.

from unite-tag.

hatelove85911 avatar hatelove85911 commented on July 19, 2024

Below is the source code of a example javascript file I'm testing against:

var a = 1
var def = function () {

  var k = 1
  var j = 2;

  function uiui() {

  }
}

from unite-tag.

Shougo avatar Shougo commented on July 19, 2024

For :Unite tag:

It works.

$ jsctags test.js -f > jstags
$ vim test.js
:setlocal tags=./jstags

For :Unite tag/include:
I have fixed the problem in neoinclude.
Please update it.

from unite-tag.

hatelove85911 avatar hatelove85911 commented on July 19, 2024

thanks! @Shougo .

I tried, it's able to generate tags for first time.
But I'm facing some weird cache issues. I'm not able to refresh the tag buffer for new tags.
I pressed to refresh, but nothing happens.

from unite-tag.

Shougo avatar Shougo commented on July 19, 2024

:NeoIncludeMakeCache

from unite-tag.

Related Issues (20)

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.