This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 130838 [details] >> formatting screenshot... Hello, all... I have some code with nested templates like vector<vector<int>>, and if i write closing >> without spaces, NetBeans automatically indent ">>" like operator (see screenshot), but i do not need any spaces before >> in templates... Is it possible to add this feature to code formatting?
please provide compilable example. >> looks like a bug.
Valid example for C++11: #include <cstdlib> #include <vector> using namespace std; int main(int argc, char** argv) { std::vector<vector<int>>qq; return 0; }
Investigation C++ lexer returns wrong token for ">>". Lexer returns token GTGT, should return two tokens GT, GT
It is impossible to implement it on lexer based formatter.