Custom Inspector Won't Recognize the Component

Hello, I’m learning to use the Editor class and all things that come with it so I can start making custom tools for faster development.

However I have a pretty bad issue with the custom inspector.

I was following the documentation here:
http://docs.unity3d.com/Documentation/Components/gui-ExtendingEditor.html
And I have a problem. I have a script called “WaypointSystem” which is located in the Assets folder. And I have another script called “WaypointSystemEditor” which is located in the Editor folder.

In the WaypointSystemEditor I have this:

@CustomEditor (WaypointSystem)
public class WaypointSystemEditor extends Editor{
	function OnInspectorGUI () {
      	 if(GUILayout.Button("Test")){
      		 	
      	 }
}

When the compiler compiles it says Unknown identifier: ‘WaypointSystem’. as if the WaypointSystem component did not exist.

It would work however if I type @CustomEditor (Light) - if I select a light object I will have a button with the text “text” on it.

According to the documentation everything should be working fine but I’m having this issue. Could it be some sort of a bug in the new version of Unity or I’m just plain dumb ?

I got it, my Editor folder was located in Assets/Standart Assets/Editor I moved it to Assets/Editor and it worked.