File: README.importing-to-eclipse.txt

package info (click to toggle)
android-platform-tools 35.0.2-1~exp6
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 211,716 kB
  • sloc: cpp: 995,749; java: 290,495; ansic: 145,647; xml: 58,531; python: 39,608; sh: 14,500; javascript: 5,198; asm: 4,866; makefile: 3,115; yacc: 769; awk: 368; ruby: 183; sql: 140; perl: 88; lex: 67
file content (33 lines) | stat: -rw-r--r-- 1,567 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(Java)

To import the formatter, go to the preferences, section Java > Code Style >
formatter, then click on import and choose
development/ide/eclipse/android-formatting.xml

To import the import order, to go into Java > Code Style > Organize Import,
then click on import and choose development/ide/eclipse/android.importorder

(C++)

To import the include paths, go to Project > Properties > C/C++ General >
Paths and Symbols, then click on "Includes" and then click on "Import Settings".
Choose development/ide/eclipse/android-include-paths.xml and hit Finish.
You will need to re-index for the changes to get picked up (right click project
in Package Explorer, then Index > Rebuild).

To import the symbols, go to Project > Properties > C/C++ General >
Paths and Symbols, then click on "Symbols" and then click on "Import Settings".
Choose development/ide/eclipse/android-symbols.xml and hit Finish.
You will need to re-index for the changes to get picked up (right click project
in Package Explorer, then Index > Rebuild).

In addition, you will need to add some include files (no way to import this
from an XML file) by hand. Go to Project > Properties > C/C++ General >
Paths and Symbols, then click on "Include Files" and click on "Add". Check
"Add to all configurations" and "Add to all languages". Repeat for these files:

    ${ProjDirPath}/build/core/combo/include/arch/linux-arm/AndroidConfig.h

If you are having trouble seeing the "Include Files" tab, you will need to
enable it in the global preference panel under "C/C++" /
"Property Pages Settings".