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
Code
#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
Quote
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?

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