question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: specify buffer type per command

See original GitHub issue

I have a small feature request that I’d like to take a stab at if it’s a change you’d be willing to merge.

I use the splits mode for buffers in this plugin, which works great for jumping to definitions. However refactoring in this mode on a larger project will often end up creating 4+ splits which is an annoyance to deal with. So I propose these new configuration settings:

jedi#use_tabs_not_buffers_goto
jedi#use_splits_not_buffers_goto
jedi#use_tabs_not_buffers_refactor
jedi#use_splits_not_buffers_refactor

The above settings would override the current g:jedi#use_(tabs/splits)_not_buffers options if set, but otherwise the current option in place would not be modified.

Thanks for your work on jedi and jedi-vim!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
davidhaltercommented, Jun 9, 2020

I think we should probably just not split in case a refactoring happens. IMO that’s the best way forward. People that want splits want one split and not a lot of them.

1reaction
blueyedcommented, Jun 22, 2020

I guess let g:jedi#use_splits_not_buffers = 1 should default to split maybe (which would respect the splitbelow/splitright setting then)?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request Form
Thank you for using Buffer. We would love to hear your ideas on how we can make our products even better for you!...
Read more >
Creating a buffer around a feature—ArcMap | Documentation
Click the feature around which you want to create a buffer. Click the Editor menu and click Buffer. Type the distance in map...
Read more >
Buffer Polylines Command - CivilGEO Knowledge Base
The Buffer Polylines command of CivilGEO's software allows the user to create new polygons around the selected polylines using a specified buffer distance....
Read more >
Language Guide | Protocol Buffers
The SearchRequest message definition specifies three fields (name/value pairs), one for each piece of data that you want to include in this type...
Read more >
TUXEDO System/T Buffer Types
MAXBUFSTYPE in the *RESOURCES section specifies the maximum number of buffer subtypes that can be accommodated in the buffer subtype table in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found