cpp.hint |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 3bf0fbb267ea6c3a3c23efdeabbdced0724d65f1
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Mon Aug 22 11:56:42 2022 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Mon Aug 22 16:01:16 2022 +0200

    Add a VisualStudio cpp.hint file
    
    It allows to improve IntelliSense results. E.g., this specific
    SAL_THROW_EXTERN_C define prevented from navigating to function
    implementations like rtl_str_hashCode_WithLength from IDE using
    'Go To Definition' feature.
    
    As described in the respective documentation [1], "Hint files
    relate to physical directories, not the logical directories shown
    in Solution Explorer", which means that the file can't be placed
    e.g. in solenv/vs, together with the .natvis file.
    
    [1] https://go.microsoft.com/fwlink/?linkid=865984
    
    Change-Id: I144d07b66b4a52c108a7e82b0aa9628843f5ae2c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138665
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/cpp.hint b/cpp.hint
new file mode 100644
index 000000000000..fcc7da600731
--- /dev/null
+++ b/cpp.hint
@@ -0,0 +1,4 @@
+// Hint files help the Visual Studio IDE interpret Visual C++ identifiers
+// such as names of functions and macros.
+// For more information see https://go.microsoft.com/fwlink/?linkid=865984
+#define SAL_THROW_EXTERN_C()

Reply via email to