'Extract to function' is not available due to error 'The selected text cannot span different functions' in certain cases #11727
Labels
bug
Feature: Extract to function
Extract to function (free function or member function)
Language Service
Projects
Milestone
Repros after selecting the "return 0;" and using Ctrl+Shift+R Ctrl+E.
Doesn't repro after 2 new lines are added to the top of the file (the markdown isn't rendering the blank lines correctly).
I'm not sure how widespread the issue is.
The text was updated successfully, but these errors were encountered: