I need to work with Json in mono and I'm using the IDE monodevelop.
How can I add as a reference json.net in monodevelop ?
In your project there should be a folder called References. Right click it and choose edit references. Then check the box next to the package you want to add
For monodevelop 4.012 try look in the Solution->Packages->Edit Packages
and look for the library you need.
Related
Is it possible to get code-hinting in JetBrains WebStorm for a non-core node package? Specifically, I'd like to get hinting/completion working for buster. I can't seem to find any information on this. Thanks much!
For buster.js, download buster-test.js and save it somewhere the WebStorm/PyCharm project can see it. Hinting should show up immediately.
WebStorm 2020.1
There's a trick to getting "coding assistance" for 3rd party packages that support community stubs (AKA Typescript definition files):
Open the project's package.json
Position the cursor on the package (within the dependencies section)
Press alt+enter (or click the light bulb)
Choose Install '#types/name' (where name is the dependency)
For example:
I'm using Flash Builder 4.6 and in one of my ActionScript projects, I have a referenced .swc library file.
The way I added it was Project > Properties > Flex Library Build Path > Library Path tab > Add SWC...
Here a popup occurs and I must select a .swc file by browsing through my machine and selecting one. Once I do that, it'll display the added library like this:
somelibrary.swc - /Full/Path/to/the/swc/here/lib/somelibrary.swc
What I want to be able to do is use a relative path instead, like:
somelibrary.swc - ../../lib/somelibrary.swc
Does anyone know a way to do this or a workaround to be able to use relative paths for swc libraries in Flash Builder?
Thanks!
I would suggest to dump mxmlc compilator's settings to xml file (where you can add all required swcs and its paths by hands using your favorite text editor).
Add compilator option -dump-config=build.xml
Find this xml config, modify it for your needs
Replace -dump-config=build.xml with -load-config=build.xml
Add compilator option:
-library-path=../../lib/somelibrary.swc
I had flex project with few action script files.
I want to make the project as swc file. So can i know how to create it as swc file.
Thanks,
Ravi
I you are using Flash Builder, create a Flex library project and add the code there as you would in a normal project. There will be an extra pane in the Build settings allowing you to choose which classes to include (it defaults to everything). When you compile you will get a .swc file.
You have to use Flex's component compiler. Check out compc.
I'm having a silly problem : I'm trying to add the Jsoup library (which is just an external jar) to my android application developed in Intellij Idea and it seems and don't do it right .
I put the library in the libs folder , then I went in Project Structure -> modules and selected dependencies , select add global library , select attach source and click ok.
When I write code it is able to automatically import classes and to compile , but when running I get " java.lang.NoClassDefFoundError: org.jsoup.Jsoup"
Copy the .jar file into your lib/ directory.
Right click the new .jar in the lefthand file browser in IntelliJ / Android Studio
Choose "Add as Library..."
Voila!
-Open the External Libraries node on the Left hand panel.
-Select Open Library Settings
-Project structure dialogue opens up.
Select the Libraries.
Click the "+" to browse the file.
![add external jar1
In IntelliJ IDEA 15 you can also access the Project Structure menu item from "File" item in the menu bar. Select Libraries from the list on the left. Click the "+" to browse the file, select it and you're done. It will be added to the "External Libraries" directory in your project.
Have a look at the newer artifacts section. Perhaps you don't add the JAR into your deployment properly.
UPDATE:
I'd like to update my answer based on lessons learned over the past six years since I first answered this question.
The best way to manage 3rd party JAR dependencies in Java projects is to learn Maven (my preference) or Gradle. IntelliJ has terrific integration with both.
If you combine those with an enterprise repository like Nexus you'll have no problems. Your dependencies and versions will be completely specified. Conflicts will be identified for you. Updates will be relatively simple.
I can't add System.Data.Linq or System.Web to project, each time I do I get a warning symbol yellow !, on the reference
Any ideas why?
I had it working all okay this morning
Did you change the .Net version of the project.
System.Data.Linq does not work for .Net 2.0.
you just need to go to solution explorer and right click on the references > add references > search for system.data.linq. Hope it work
Sounds like the path to the DLL may no longer be valid. Try removing the reference and adding it in again...
I've had to create a new project and copy the classes and now it is working.
Right-click your project, select "Properties", then hit the "Application" tab.
De-select "Client-only Framework subset". Grit your teeth at the annoying lack of detail you were getting before. (It just says "can't add reference".)