Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

January 6, 2010

[SOLVED] Syntax highlighting CakePHP using Eclipse



  1. Open your Eclipse workspace;

  2. Click on Window | Preferences;

  3. On the Preference Dialog expand the General node on the tree;

  4. Click on Content-Types under General;

  5. On the right panel under Content-Types, expand the Text node;

  6. Select PHP Source under the Text node;

  7. You’ll see the list of files associated on the list below e.g. File-Associations;

  8. Click on the Add button and type the fie extension e.g. *.ctp under file-type;

  9. Click on Ok to add the file-type;

  10. Click on Ok to close the Preference Window;


 



Syntax highlighting CakePHP using Eclipse « Rio Bautista’s TechLog.

September 23, 2009

[SOLVED]How to use the “sysout” snippet in Eclipse with selected text?

"The sysout template acts upon entire Java statements.



1. Highlight a statement in the editor.

2. Hit CTRL-SPACE (or whatever you have set up for content assist.)

3. Type sysout then hit enter. Note that when you're typing sysout it will temporarily overwrite your statement (but it will come back wrapped by System.out.println when you hit enter.)" stackoverflow.com

August 17, 2009

[SOLVED]Eclipse and .svn Android AIDL Problem



Today after adding my android project to svn repository I got

syntax error    entries /src/.svn  line 1  Android AIDL Problem

After searching internet for solutions I installed subversion plug-in (did not helped) but this...

It is worked for me:

  • Delete your project from eclipse (not from disk).

  • "File"->"New.."->"Project"->"Android Project"

  • in "New Adroid Project"-Dialog selected "create project from existing source" (find your project on HDD)->"Finish"


my .classpath-file
<?xml version="1.0" encoding="UTF-8"?><classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="output" path="bin"/></classpath>