If you ever need to get rid of annoying HTML validation errors, warnings like warning on ‘data’ attributes in Aptana Studio, go to Preferences -> Aptana Studio -> Validation -> HTML Tidy Validator and make sure that ‘Build’ and ‘Reconcile’ Columns have a cross (in red) over there if not so and there are green check marks, turn them into cross by clicking on check marks. After that Click apply and OK to save preferences and Select Yes on Build confirmation dialog box to apply new build settings for that.
Sometimes Aptana Studio doesn’t give code hinting for WordPress Development, if you face this problem, try this:
1. go to File -> New -> Other -> or just click ctrl+N.
2. New dialog window will open, from there choose Project under General Category, click next.
3. On Project Screen type a name for your project e.g. ‘WordPress Development’ and uncheck ‘Use Default Location’.
4. Click browse button on the right for location and select your WordPress installation folder e.g. c:\xampp\htdocs\wordpress_development. Click Finish.
5. Now right click on your WordPress Development (your project created above) in Project Explorer and select Properties.
6. ‘Properties for WordPress Development’ window will pop up, from there click on ‘Project Natures’.
Check ‘PHP’ and ‘Web’ from the right panel, make sure PHP is highlighted as Primary.
Then click OK to close Properties Dialog window.
Now Aptana Studio will reconfigure your project accorinding to PHP as Project Nature and will ask you to close and reopen the project, click Yes to accept so.
Now you may see your porject as closed project on Project Manager, if so double click to open your newly created project and you are done.
Try creating a test plugin under wp-content/plugins directory and you will get code hinting for WordPress.