Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Squeller on November 21, 2006, 03:06:16 PM

Title: Find variable declaration?
Post by: Squeller on November 21, 2006, 03:06:16 PM
#include <iostream>
using namespace std;

int main() {
  int v = 5;
  int c;
  ...
  v *= v;


When rightclicking on v, I have "find declaration of v". Result is always: "Not found". Isn't it possible to find variable declarations? Am I expecting wrong?

Title: Re: Find variable declaration?
Post by: mandrav on November 21, 2006, 03:18:09 PM
QuoteWhen rightclicking on v, I have "find declaration of v". Result is always: "Not found". Isn't it possible to find variable declarations? Am I expecting wrong?

Yes, this functionality does not support local-scope tokens.