FG
💻 Software

How can I make vim show the current class and method I'm editing

Fresh5 days ago
Mar 15, 20269643 views
Confidence Score0%
0%

Problem

Does anyone know if it's possible (or know of an existing vim script or plugin) that can create a "status bar" that shows the name of the current class and method (or function) I'm editing? I'm imagining that it would plug into the syntax parser for the filetype of the current buffer, and display a…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I make vim show the current class and method I'm editing

Low Risk

This will work if you install both the airline and tagbar plugins. These two plugins integrate automatically and you'll get the current function displayed in the status bar. If you want to have the full object hierarchy (e.g. class + method), you'll…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment