Commit Graph
2 Commits
Author SHA1 Message Date
Mike Kaganski 280985ba38 Add some entries into cpp.hint
Improves VS integration: allows to find DECL_LINK implementations,
as well as CPP unit tests defined using CPPUNIT_TEST_FIXTURE.

The macros are stripped down to the minimum to allow IntelliSence
do its job efficiently.

Change-Id: I2de02196d44d72f79d8cd9e06e8093a7620bd9e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157677
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-07 17:20:38 +02:00
Mike Kaganski 3bf0fbb267 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.kaganski@collabora.com>
2022-08-22 16:01:16 +02:00