Extract Constant displacing doc comments.
I'm having a small, but annoying issue with extract constant. Lets say I have a function:
/**
* Function docs
*/
public function doSomething()
{
...
}
If I use extract constant anywhere in the code it will displace the doc comment this way:
/**
* Function docs
*/
const SOME_CONST = 'value';
public function doSomething()
{
...
}
Is there any setting I can change which would fix this?
请先登录再写评论。
Hi there,
Known issue: https://youtrack.jetbrains.com/issue/WI-41919 ---> https://youtrack.jetbrains.com/issue/WI-41683