WIN32 RTI_WIN32 _DEBUG _CONSOLE,RTI_STATIC _SCL_SECURE_NO_WARNINGS %(PreprocessorDefinitions)Īs you can see, in this line there is a wrong separator "," between _CONSOLE and RTI_STATIC. In line 98 of those files you can find the following code: For example, using the IDL struct that you indicated in your messages, you should modify the files: Encoder_publisher-圆4Win64VS2015.vcxproj and the file Encoder_subscriber-圆4Win64VS2015.vcxproj. The problem is related to an error in line 98 of the property files for your VS project. Please note that this issue does not affect Debug DLL, Release DLL, and Release, so IntelliSense should work properly with those configurations. This is a known issue related to the Visual Studio project properties that affects to the Debug configuration. Is there any advise on what is going on here, recommendations to fix, or known workarounds? " IntelliSense is not fully supported when you reference a header file multiple times by using the #include directive, and the meaning of that header file changes because of various macro states that are defined through the #define directive. I am concerned that DDS may be leveraging certain macro-defined behavior that is too complex for intellisense to make sense of. I tried adding stdafx per their suggestion - no effect. Added DDS library, include paths, and macros.
Compiled and intellisense worked as expected.
#Visual studio 2015 intellisense problems manual
Properly formed code will still compile, but is a real pain to have to do so many API manual lookups. It no longer works for either custom code, or the auto-generated code, or DDS itself (I've attached a screenshot showing me attempting to type code, and the error message shown by VS2015). Now I go into any source file to edit code, and see that Intellisense is disabled. (I've also debugged the example it runs as advertised/expected.) \objs\i86Win32VS2015_pub\Encoder_publisher.pdb (Full PDB) = Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped = 1>Encoder_publisher.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification 1> Encoder_publisher-i86Win32VS2015.vcxproj -> C:\_\dds_intellisense_problem\.\objs\i86Win32VS2015_pub\Encoder_publisher.exe 1> Encoder_publisher-i86Win32VS2015.vcxproj ->.
Open the publisher & build it: no errors, one warning I don't think is related.ġ>- Build started: Project: Encoder_publisher, Configuration: Debug Win32 - 1> Encoder_publisher.cxx 1> EncoderPlugin.cxx 1> Encoder.cxx 1> Generating Code.
I end up with the boilerplate demo publisher and subscriber. The only reference I've found is this one:Īnd they suggest to add a baseUrl config code to the _references.js file, which hasn't worked for me at all.Run it through rtiddsgen pretty much all defaults except preprocessor disable.Ĭ:\Program Files\rti_connext_dds-5.3.0\bin\rtiddsgen.bat C:\_\dds_intellisense_problem\Encoder.idl -ppDisable -language C++11 -create typefiles -create examplefiles -create makefiles -platform i86Win32VS2015 -stl This is very annoying and I can't find any reliable info on the Web regarding this specific problem. I've tried diverse combinations of relative paths to write the attributes, but no luck. In fact the suggested path that can't be loaded it's OK except for all the "./". It seems as if the feature was trying to load my "main.js" file from the VS JavaScript references folder instead of my real folder which gets a lot of "./" added and can not be resolved. In theory you only need to add a reference in the _references.js file, like this: /// īut I get this message all the time through the Output window regarding the "JavaScript Language Service": I am having problems making Intellisense work under Visual Studio 2013/2015 with RequireJS (client-side). This seems a simple problem, but I can't find any information online about it, neither here in Stack Overflow.