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] Support for code sections

See original GitHub issue

See this on RStudio support for code sections, which is a great way to navigate in script.

# Section One ---------------------------------
 
# Section Two =================================
 
### Section Three ############################# 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
renkun-kencommented, Jan 20, 2020

@mik3y64 Glad to know it works for you. Would you mind putting your comments at https://github.com/REditorSupport/languageserver/pull/163 which seems to be the place we discuss it further since we’ll implement this feature in languageserver?

1reaction
andycraigcommented, Oct 17, 2019

More detail on how this could be done: When a file is saved, look for section lines using a regex. Add these as symbols using DocumentSymbolProvider. They would then appear in the Outline and Breadcrumbs sections.

The language server also provides symbols, so it would be necessary to check that the language server symbols and the section symbols don’t conflict.

If anyone wants to have a go at implementing this, I’m happy to provide assistance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 ways to manage software feature request - Amoeboids
The best way to keep feature requests in one place is to set up a centralized repository. Whether a feature request is received...
Read more >
How to Collect and Manage Feature Requests in SaaS
In this article, we'll cover several methods for collecting and managing feature requests to meet customer expectations for your SaaS.
Read more >
Writing Good Feature Requests · rstudio/rstudio Wiki - GitHub
Make your feature request better by describing the problem you are facing, and only then proposing the feature request as one solution to...
Read more >
How I Translate Feature Requests into Code - Michael-F-Bryan
This process works especially well for larger features which add new functionality with minimal coupling to existing code.
Read more >
In-App Feature Requests - Instabug
Showing the feature requests page is as simple as pasting a line of code into your application. This section details this API. Feature...
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