tagbar VS coc.nvim

Compare tagbar vs coc.nvim and see what are their differences.

tagbar

Vim plugin that displays tags in a window, ordered by scope (by preservim)

coc.nvim

Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers. (by neoclide)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
tagbar coc.nvim
31 320
6,083 23,945
0.2% 0.3%
4.7 9.0
about 2 months ago 4 days ago
Vim Script TypeScript
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tagbar

Posts with mentions or reviews of tagbar. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.
  • A function to list all function signatures in the current C source file in the quick fix window .
    1 project | /r/vim | 4 Jul 2023
    Check this plugin: https://github.com/preservim/tagbar
  • Moving across c-family function arguments
    2 projects | /r/vim | 1 Jun 2023
    Are you looking for https://vim-taglist.sourceforge.net/ or https://github.com/preservim/tagbar
  • What is this font used from the everforest repo?
    3 projects | /r/neovim | 30 May 2023
    I ended up finding https://github.com/preservim/tagbar and like it so far
  • NeoVim & Rust
    7 projects | /r/rust | 26 May 2023
    I also recommend you https://github.com/preservim/tagbar with https://ctags.io/ installed , it will map definitions (functions, enum, struct etc..) to tags and tagbar plugin allows you to open a split window with the mapped list and navigate through your file, it also enabled more advanced features for quick navigation .
  • Question regarding vertical movement
    8 projects | /r/neovim | 12 Mar 2023
    Also not that useful for text files I think, but I sometimes use something like https://github.com/preservim/tagbar to get an overview of the structure of the file, especially in unfamiliar documents. This is a quite old plugin of this nature that depends on ctags, there are more modern plugins that depend on treesitter. However for C++, I found the treesitter based bar plugins not as helpful, they need language specific settings, and the ones I tried didn't have them for C++ at the time.
  • Favorite vimrc configs for coding?
    8 projects | /r/vim | 20 Feb 2023
    Having said this, there are some useful language independent extensions: jiangmiao/auto-pairs, tpope/vim-commentary, preservim/tagbar, junegunn/vim-peekaboo
  • converting vimscript to lua
    1 project | /r/neovim | 3 Feb 2023
    Hey, I checked out tagbar plugin. It's really cool. It supports most of the languages. But the ones that needs to be configured, are mentioned in their wiki. It mentions vimscript in it. What will be the lua version of following vimscript?
  • NeoVim Installation and Configuration on Win10/11
    14 projects | dev.to | 30 Nov 2022
    :set number :set autoindent :set tabstop=5 :set shiftwidth=4 :set smarttab :set softtabstop=4 :set mouse=a call plug#begin() Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " For brackets autocompletion " Auto-completion For Javascript, typescript, html, jsx ...etc Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} " this is for auto complete, prettier and tslinting let g:coc_global_extensions = ['coc-tslint-plugin', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-prettier'] " list of CoC extensions needed Plug 'jiangmiao/auto-pairs' "this will auto close ( [ { " these two plugins will add highlighting and indenting to JSX and TSX files. Plug 'yuezk/vim-js' Plug 'HerringtonDarkholme/yats.vim' Plug 'maxmellon/vim-jsx-pretty' set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :call CocActionAsync('jumpDefinition') nmap :TagbarToggle :set completeopt-=preview " For No Previews :colorscheme jellybeans let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " --- Just Some Notes --- " :PlugClean :PlugInstall :UpdateRemotePlugins " " :CocInstall coc-python " :CocInstall coc-clangd " :CocInstall coc-snippets " :CocCommand snippets.edit... FOR EACH FILE TYPE " air-line let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif " airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '' inoremap pumvisible() ? coc#_select_confirm() : ""
  • Closing brackets are highlighted in red when in the init.vim file
    9 projects | /r/neovim | 24 Nov 2022
    Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation
  • Is there a plugin similar to Visual Studio's object browser/class view?
    4 projects | /r/neovim | 20 Oct 2022
    https://github.com/preservim/tagbar (no LSP support)

coc.nvim

Posts with mentions or reviews of coc.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • I can't stand using VSCode so I wrote my own (it wasn't easy)
    10 projects | news.ycombinator.com | 21 Apr 2024
    As well as its own plugins Vim/NeoVim can use VSCode's LSPs, DAPs and extensions either directly or via plugins like CoC[1] and Mason[2].

    I would be surprised if emacs couldn't do the same.

    1. https://github.com/neoclide/coc.nvim

  • Existing non-lua plugins examples
    8 projects | /r/neovim | 6 Dec 2023
    The most famous TypeScript one probably is coc.nvim
  • ready to use neovim for web development (frontend) - beginners
    4 projects | /r/neovim | 5 Dec 2023
    It is flatly the wrong mindset to think of vim as an IDE. vim is a code editor: get in, make change, get out. Consider vim koans, which are a fun little read. You can throw coc.nvim at Neovim, along with a few other bits to give you a Good Enough setup, but vim isn't and will never be an IDE.
  • Using CoC inlay hints
    1 project | /r/vim | 11 Nov 2023
    I just did a fresh reinstall of CoC, on a newer version of Neovim. I'm now seeing something I hadn't seen before, which CoC calls "inlay hints". They look like this:
  • C# lsp configuration with neovim CoC
    4 projects | /r/neovim | 10 Nov 2023
    I'm currently on an old setup (using coc and polyglot) and nvim v0.6.1. I'll be updating to a more modern setup within next year, using the native lsp and building nvim more frequently. But that's not today.
  • Does anyone know some good altermatives for these Vim plugins on Emacs?
    3 projects | /r/emacs | 18 Jul 2023
    coc.nvim
  • LazyVim
    32 projects | news.ycombinator.com | 16 Jul 2023
    There are some plugins which have the best documentations I have ever seen, but you need to read it from the Vim.

    Example of coc.nvim: https://github.com/neoclide/coc.nvim/blob/master/doc/coc.txt

  • Resources on learning bash scripting
    5 projects | /r/bash | 4 Jul 2023
    Actually you can with coc.nvim & coc-sh. So long as shellcheck is also installed and in PATH, it'll integrate with coc/vim just fine.
  • how to set up coc.nvim extension on offline machine?
    2 projects | /r/vim | 7 Jun 2023
    When you install an extension it runs an npm install or yarn, iirc, which is going to be problematic for you being offline. I was going to say you could copy that ~/.config/coc folder directly to the other machine but yeah, Windows, no idea. You see here https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions
  • GCC autocompletion
    2 projects | /r/vim | 30 May 2023
    You can try https://github.com/neoclide/coc.nvim, the pre-requisite is to install nodeJS, then to install all the languages LSP. This works for me for Angular, Rust, JavaScript, Vimscript, etc

What are some alternatives?

When comparing tagbar and coc.nvim you can also consider the following projects:

symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.

YouCompleteMe - A code-completion engine for Vim

navigator.lua - Code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐 Exploring LSP and 🌲Treesitter symbols a piece of 🍰 Take control like a boss 🦍

vim-lsp - async language server protocol plugin for vim and neovim

vista.vim - :cactus: Viewer & Finder for LSP symbols and tags

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

vim-gutentags - A Vim plugin that manages your tag files

nvim-cmp - A completion plugin for neovim coded in Lua.

vim-awesome - Awesome Vim plugins from across the universe

nvim-lspconfig - Quickstart configs for Nvim LSP

vim-markdown - Markdown Vim Mode

LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.