Monodevelop Creating "New project" "Library" "Gtk" - monodevelop

I have Monodevelop version 5.10.
I want to create new project library gtk in my solution.
I look the tutorial "Creating custom widgets with MonoDevelop".
But this page "Project Features" does not appear
Why I have not this page in my Monodevelop?
Is it not the good version?
If i add new file -> Gtk -> Widget, in my library it is the same than creating a library with "Project Features" ?

Related

LINQ2SQL installed but LINQ To SQL Classes missing from "Add New Item" list in Class Library Project

I have VS 2017 Solution with Linq2SQL projects (with .dbml) files in them. When I add a new Class Library to the solution, and do an "Add New Item" in that project, the Linq To SQL Classes option is missing. It is present if I click on other projects in the solution. How do I add new LINQ To SQL Classes to my new Class Library project?
So of course just a few minutes after I post this question I'm crawling through raw, unloaded Project files and realize I had added a "Class Library (.NET Standard)" instead of a "Class Library (.NET Framework)". The missing classes are available in (.NET Framework).
It looks like you haven't installed this component yet. It's best to install it this way:
Open Visual Installer and go to:
-> More -> Modify
After appear Modify window click on Individual Components tab. Then in the Code tools category check LINQ to SQL tools and install it.

Find Eclipse RAP Tutorial create View, Editor like RCP template with a View in Luna

I'm a beginner Eclipse RAP and RCP, With Eclipse RCP I can create RCP Application using template "Hello RCP" it create Editor, View, ... But RAP have no template create Editor, View. Help me a tutorial to create simple RAP Application?
You can use "Mail Template" form New Project Wizard to create simple workbench-based application.

How do I use phalcon-devtools\ide\phpstorm in phpstorm?

I am trying to integrate the Phalcon developer tools with phpstorm. There is a video here, but I am unable to view it due to my location.
I can't find any other usable reference in the documentation, how can I accomplish this?
Here are the steps.
Make sure you have the phalcon-devtools installed Instructions
Create a project using phalcon-devtools (unless you already have a project)
Launch PHPStorm and create the project there (unless you already did that).
Click File-Settings (Ctrl+Alt+S) (or PHPStorm-Preferences for Mac)
Click the second option "Command Line Tool Support"
Click the + icon and a new popup comes up. Make sure you have "Custom Framework" selected
In the new popup type:
Framework: Phalcon
Tool path: /Applications/MAMP/htdocs/phalcon-tools/ide/phpstorm/phalcon.sh
Alias: phalcon
Description: Phalcon Developer Tools
This assumes that your phalcon-tools have been installed under:
/Applications/MAMP/htdocs/phalcon-tools/
Also if you use a Windows environment, you should use phalcon.bat instead of phalcon.sh (see Tool Path line above)
Click Apply and then OK.
Click Tools - Run Command (Ctrl+Shift+X)
In the Commands output window, type:
phalcon commands
You should be able to see output. If there is an error check your path. Type any of the phalcon-tools commands to generate components for your project.
In PHPStorm you should see in the project explorer "External Libraries". Right mouse click and select "Configure PHP Include Paths"
In the new dialog click the + and navigate to the /Applications/MAMP/htdocs/phalcon-tools/ide/phpstorm/0.5.0 folder and click OK.
Now as you type code, the relevant helper popup will appear with all the relevant functions.
2012-09-07: There is a beta implementation of the Phalcon PHPStorm support for 0.5.0 here. In the upcoming weeks the code will become part of the framework and included with the 0.5.0 version.
I had some problems with the execution of the phalcon.bat file on my Windows Dev machine, no PHP installed, so i research a much simpler solution for phpstorm.
Simply do following:
click on "External Libraries"
click on "Configure PHP Includes Paths..."
click on add
add "phalcon-devtools\ide\[YOUR_VERSION_DIRECTORY]"
Than you have code completion for phalcon:-)
If you see the Phalcon module loaded in phpinfo page in your WAMP server, do the following to get loaded the module in CLI mode too.
Copy <WAMP INSTALATION >\bin\apache\<APACHE VERSION >\bin\php.ini to \bin\php\<PHP VERSION>\
Set php PATH to <WAMP INSTALATION>\bin\php\<PHP VERSION>\
That should solve the problem.
It has since been changed,
"As part of our restructuring and working towards a better more robust framework in terms of features as well as organization, we have removed the IDE stubs from the Phalcon DevTools repository and moved to its own repository."
The new instructions are located here:
https://blog.phalconphp.com/post/phalcon-ide-stubs-repository

Simple WYSIWYG HTML editpart for eclipse rcp?

I am looking for a Eclipse plugin which I could use to provide a WYSIWYG HTML editor in an Eclipse RCP application.
I need nothing fancy, something with similar functionality to the editor I am using to type this question would be sufficient.
Based on the answers to What is the best HTML editor for Eclipse? there should be one provided by the Web Tools Platform project: Web Page Editor. But I could not figure out its class name to use it inside a View.
A small code example on using it would be especially helpful.
Quick tutorial:
In eclipise:
-import project from cvs, host: dev.eclipse.org, repository path:/cvsroot/webtools, user:anonymous, connection type:pserver
-click next, find and choose plugin org.eclipse.jst.pagedesigner and import it to your workspace
-create Hello RCP
-in plugin.xml tab extension add new: org.eclipse.ui.editor
-in this extension point add new element, editor and set: id- no matter what, but remember it for future (e.g. "editorId"), extensions: xml,html,xhtml class:org.eclipse.jst.pagedesigner.editors.HTMLEditor, contributorClass: org.eclipse.jst.pagedesigner.editors.actions.PageDesignerActionBarContributor2, default: false.
-Now you have to open a file, "transform" to IEditorInput
-call method IWorkbenchPage.openEditor(iEditorInput,"editorId")
Should work!

Adding an external jar library to Intellij IDEA

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.