Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1493 from piers7/piers7-doc-selfref
Browse files Browse the repository at this point in the history
Clarify 'unused identifier' rules in FAQ
  • Loading branch information
vasily-kirichenko authored Jan 6, 2017
2 parents 2411570 + 0ea934a commit 51df221
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/content/faq.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ If you encounter any bug, please take some time to record diagnostics informatio
Why are object identifiers in members marked as unused?
-----------------------
If object identifiers (`x` in `x.Member`) aren't referred anywhere in the member bodies, they are understood as unused values.
In order to fix it, we recommend to use `__` or any identifier with `_` prefix (`_x` for example).
This *includes* the self-reference for class members (eg 'this').
To suppress the warning, we recommend to use `__` (double underscore) or any identifier with `_` prefix (`_x` for example).
For more info, see [issue 644](https://github.com/fsprojects/VisualFSharpPowerTools/issues/644)
Why are my VFPT key bindings overridden by ReSharper?
-----------------------
If you are using Visual F# Power Tools along side with ReSharper 8 or below, there is a [known issue](http://youtrack.jetbrains.com/issue/RSRP-409199) where some F# commands are hidden by ReSharper.
You can workaround by disabling the ReSharper option "Hide overridden Visual Studio menu items" (ReSharper -> Options -> Keyboard & Menus).
*)
*)

0 comments on commit 51df221

Please sign in to comment.