How to get the Android API documentation in Eclipse [closed] - eclipse

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'd like to be able to integrate Android api docs into Eclipse so that, for example, if hover over an Activity class you get the appropriate Javadoc in a popup.
So to add Javadoc to Android you open up any Android project in Eclipse. Location the "Android x.x" library. In this right click on the android.jar file and select Properties. Choose the Javadoc location entry.
In the JavadocURL section I entered http://developer.android.com/reference/packages.html and clicked Validate but it gives the usual error of
Location might be invalid. Files 'package-list' and 'index.html' that are typically available at the root of the documentation created by the Javadoc tool have not been found
I've tried lots of variations of that URL but to no avail.
I also don't want to have to resort to downloading the source for Android.

In Eclipse right click the Android Library, and hit Configure Build Path. Then Select Android.jar and click Javadoc location. Click Edit then make sure Javadoc URL is selected. In the box, type in: "http://developer.android.com/reference/".

BTW one possible (but unsatisfactory) solution is to get the Honeycomb API docs to access them offline.
In the AVD Manager download the "Documentation for Android 'Honeycomb' Preview SDK" package. This installs into your .../android-sdk-linux_x86/ directory under docs. You can then link the android.jar file to it as detailed above.
I wouldn't mind being able to download the docs for the particular API version I use but I can't find it anywhere. I'd still prefer to access the online version.

Related

How to Change Eclipse Window Icon [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to change the icon of my eclipse installation permanently. So when I run eclipse it should have the changed icon in task bar in alt+tab list (actually everywhere but those 2 are the ones I care about). No, I only have one workspace I work with. I just need another icon. Is it possible without installing another plug-in ?
Edit:
This question is about programming because my programming lacks of efficiency because I have to circle at least once around the whole tab circle to stop at the right icon. I even changed the Alt+Tab display to look like XP because it is quick for the eye to recognize the correct icon (-> more efficient task switching). I liked the old purple circle so I can find it in a blink of an eye. Not it's more gray and blends to much with the background.
Like this (green "circle" is Eclipse):
I use:
Eclipse Java EE IDE for Web Developers.
Version: Juno Service Release 1
Build id: 20120920-0800
Windows 7
Does eclipse run from a jar file ? Which one is responsible for the main window ? Maybe it contains the icon ?
Eclipse has an API for branding, which can be used to change the Eclipse branding to a custom branding. This includes changing the icon, the name of the application, splash screen, and so on.
This Eclipse article describes how to brand an Eclipse 3.x application. Eclipse 4.x allows you to create a custom application, it is different than for Eclipse 3.x, but it also involves providing some details to a XMl file, for more information and a tutorial, see the Eclipse Products and Deployment tutorial of Lars Vogel.
Unfortunately not without creating a (very) small plugin. But you do need to store the new icons somewhere, so creating such a storage plugin including a small XML file with some extension points should not be too difficult.
You could follow this How-to, which is common to all exe files.
It involves using Resource Hacker, to change the icon file used in the exe file:
You could use it on eclipse.exe, and it should give you the result you expect.

Eclipse plugin for TypeScript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
The new Microsoft TypeScript language (typed superset of JavaScript) seems very interesting, is there any alpha / incubator project that attempts to support it in Eclipse? Or is it too early to even wish for it
Check this open source plugin which is build by palantir.
This question was asked the day TypeScript was released, so as of today (Oct 2nd 2012), there is no support. Having said that, the XText team -- a team responsible for rapidly creating DSLs -- is aware of TypeScript and I wouldn't be surprised if they do something.
Another place to look is Microsoft. Depending on what their motivation is with TypeScript, they may push for an Eclipse project (although I doubt it).
Orion (the web based eclipse ide) would be a good fit. It is already using nodejs, so it would be easier to incorporate tsc and the language services. Right now they already support Javascript including some type inference. I understood typescript is on their radar.
Looks like the beta of an Eclipse Typescript plugin was uploaded on Aug 7 2013. I haven't had a chance to try it out yet but it looks promising.
http://marketplace.eclipse.org/content/typescript#.UgfEuD9IG-V
https://github.com/palantir/eclipse-typescript
Until a specific plugin is implemented, if you are adventurous enough, you might try and just use JSDT and associate *.ts files with the JavaScript editor. If you get JavaScript validation errors, disable the JavaScript Validator under Project > Properties > Builders. For automatic TypeScript compiling, you can set up an external builder as described here or here.
My settings:
Main
Location: /usr/local/bin/tsc
Working directory: ${build_project}
Arguments: ${build_files:f}
Refresh
Refresh resources upon completion: checked
The folder containing the selected resource
Environment
PATH = /user/local/bin
Build Options
Allocate console: checked
Run the builder: During auto builds
Specify Resources: a folder that contains *.ts files

What UI mockup tools can be used to produce Eclipse UI "screenshots"? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
What UI mockup tools exist that could be used to produce designs that look like Eclipse UI? Perhaps there is an Eclipse project available for this? (http://www.eclipse.org/projects/listofprojects.php doesn't make it easy to browse through all the projects and learn about them.) I would consider tools for any platform.
They are wireframe sketches rather than Eclipse-UI like mockups, but I find http://wireframesketcher.com/ or http://marketplace.eclipse.org/content/wireframesketcher very useful.
It's quick and easy to use, see the feature list here:
http://wireframesketcher.com/features.html
One thing they don't seem to mention there is their SWT Spy plugin which "allows you to convert your existing SWT UI into a wireframe that you can edit and revise afterwards" (their words from the help content of the wireframe sketcher feature).
They have a 14 day trial.
I ended up buying SwordSoft Layout in the Mac OS X App Store. It's inexpensive ($6.99) and easy to use. While it doesn't have Eclipse-specific templates, it wasn't hard to create mockups that looked close enough to what I'm proposing.
We use balsamiq Balsamiq site. You can use their web version for free. Web version
However, the web version doesn't save. So you need to manually store the xml. Use export as xml and copy paste to a local file and use again import as xml to restart.
You can take a look at ForeUI, which can help creating UI mockup with various styles (Handdrawn, Wireframe, Windows xp, Mac OS X and Windows 7), and allows you to define behavior of your mockup then run HTML5 simulation in web browser.
For reference, Eclipse has a project
http://eclipse.org/windowbuilder/
that actually can be used for constructing plugin mockups and to start off the plugin project through generating much of the UI stuff. Since it is an Eclipse project using all Eclipse artefacts as they show in Eclipse, there's probably no better tool at the moment.
You can use MockupUI. It is a desktop user interface mockup software. Not using Eclipse, but it lets you draw high fidelity UI screens with a native Windows 7,8 or 10 look and feel.

library not found for -lidn [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I was making some changes in the Build Properties of my project, just to set up the use of libxml2 library. I finally did it, but when i come back to compile my app, this error showed up:
library not found for -lidn
I am using XMPPFramework in my project, and libdn is needed. It seems that can't find the library. Any advise?
Thank you very much.
If you install XMPPFramework via CocoaPods
select Build Settings
search Library Search Paths
add "$(PODS_ROOT)/XMPPFramework/Vendor/libidn"
Click on project target -> Build Settings and search for the section named "Library Search Paths", click on + and add XMPPFramework Path/Vendor/libidn on Debug and Release

Eclipse metrics plugin suggestion [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a tool to give me some code metrics (total LOCs, LOC/Class, # of external references/class, etc...).
Does anyone know a good eclipse plugin that could provide me some some code metrics?
CodePro AnalytiX originally form Instantiations is now free at Google:
http://code.google.com/javadevtools/download-codepro.html
here is one called Metrics.
edit:
i put together a short program for this screenshot in eclipse 3.3.1.1:
Edit 2
Metrics New version Thanks #mpartel for the link
Sorry for the necropost but it seems like the right thing to do since this was my starting point. Try Metrics2, its a fork of the original metrics plugin and is built for Eclipse 3.5.
There is an updated version of the Metrics plug-in described above that should do what you need. It can aggregate some of the measurements (e.g. add up the LOC of classes in a package to give you the LOC of the package) and export the measurements to XML. Some time in the near future, it should also export them to a relational database.
If you want LOC only then use locmetric http://www.locmetrics.com/ . and if you want check metric and code coverage usse SONAR or Eclips CodePro Analytix plugin.
i suggest to use https://developers.google.com/java-dev-tools/codepro/doc/ it has Automated tools measure quality of Java source code and code coverage
A search for eclipse code+metrics turns up http://eclipse-metrics.sourceforge.net/, which looks good.
I also recommend the eclipse-metrics plugin.
It is capable of exporting the metrics into html, and is capable of doing this from an ant task (at least according to the documentation, I have never tried it).
The plugin works even in Eclipse 3.5 fine.
Sonar seems worth to look at: http://docs.codehaus.org/display/SONAR/Installing+Sonar+in+Eclipse
Another good project is the projectusus, which shows you not only the metrics but also whether you are respecting the standards or not and gives you a hint of what should be refactored