microsoft / RTVS

R Tools for Visual Studio.
MIT License
390 stars 118 forks source link

Dozens of R documentation tabs launched in external browser #4268

Open jeffmun opened 6 years ago

jeffmun commented 6 years ago

When editing an R script if I place the cursor in the parentheses of an R function, focus jumps to the external browser for the local help page (e.g., http://127.0.0.1:11059/library/RDocumentation/doc/index.html?viewer_pane=1) and sometimes multiple tabs are launched. While trying to type this post, I was testing it and at one point over 100 tabs were launched before being able to get the cursor out of the function. This happens when R Tools > Editor Options > R > General > Statement Completion > Parameter Information is checked. Happens with and without R Tools > Editor Options > R > Advanced > Intellisense options on.

I'm using VS 2017 (15.5.2) R Tools 1.3.31108.1213

Though these tabs get launched, no intellisense is displayed. However, for local functions I have defined, intellisense is properly displayed when "Parameter Information" is checked.

Here's a screenshot of my Chrome tabs after it happened. It took less than 5 seconds for this many tabs to get launched.
image

smortaz commented 6 years ago

Wow. Thanks for the heads up! we'll take a look soon & apologies :).

On Thu, Jan 18, 2018 at 1:17 PM, jeffmun notifications@github.com wrote:

When editing an R script if I place the cursor in the parentheses of an R function, focus jumps to the external browser for the local help page (e.g., http://127.0.0.1:11059/library/RDocumentation/doc/ index.html?viewer_pane=1) and sometimes multiple tabs are launched. While trying to type this post, I was testing it and at one point over 100 tabs were launched before being able to get the cursor out of the function. This happens when R Tools > Editor Options > R > General > Statement Completion

Parameter Information is checked. Happens with and without R Tools > Editor Options > R > Advanced > Intellisense options on.

I'm using VS 2017 (15.5.2) R Tools 1.3.31108.1213

Though these tabs get launched, no intellisense is displayed. However, for local functions I have defined, intellisense is properly displayed when "Parameter Information" is checked.

Here's a screenshot of my Chrome tabs after it happened. It took less than 5 seconds for this many tabs to get launched. [image: image] https://user-images.githubusercontent.com/1767449/35121551-a507a216-fc50-11e7-83c4-3706de7a3009.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/RTVS/issues/4268, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtUVHTpa9CDP2K1gX_xkvVE9-SBkP43ks5tL7TOgaJpZM4Rjk8t .

MikhailArkhipov commented 6 years ago

Could you try if it happens with different browser? Also, the only command that launches help is Help on current..., I am wondering if I got bound to Enter or something?

image