title: Classes in same package
body: <p>I love the Intellij IDEA but i have been stacked on one little problem with Java imports.
  So for example there is a package with name "example" and two different classes in it: A.java and B.java.</p>
  
  <p>And i wanna get access to class "A" from class "B" without imports. Like this:</p>
  
  <p>class A:</p>
  
  <pre><code>package example;
  
  public class A{ ... some stuff here ...}
  </code></pre>
  
  <p>class B:</p>
  
  <pre><code>package example;
  
  public class B{
      public static void main(String[] args){
          A myVar = new A();
      }
  }
  </code></pre>
  
  <p>This code may not work, but it's doesn't matter. Trouble just with IDE and with its mechanism of importing classes.</p>
  
  <p>So, problem is that i can't see A class from B. Idea says 'Cant resolve symbol' but i actually know that class A exists in package. Next strange is that complier works fine and there are no exceptions. Just IDEA can't see the class in the same package.</p>
  
  <p>Does anybody has any ideas?</p>