actually I am trying to setup SonarQube for my PHP-Project.
In my Eclipse Installation I'm trying to use the "SonarQube Issue Editor" which is shown here:
http://docs.sonarqube.org/download/attachments/6948813/sonarqube-eclipse-overview.png?version=1&modificationDate=1383220387000&api=v2&effects=drop-shadow
But I can't find this view, where you can directly edit the issue.
Everything other works well, i see the Issues-Tab and also the Rule Description.
Also tried SonarLint but there is the same like in SonarQube-Plugin.
Has anyone else have this problem, or a solution for it?
Is there maybe an other solution to edit the issues in eclipse, which are created by SonarQube?
I don't find anything else in the forum or on Google....
I Just don't get it.. Please help me
Got an answer from SonarLint developer:
SonarLint does not support associating a project with a particular SonarQube server, so there is no such editing possible at the moment. We plan to keep adding features to SonarLint so stay tuned!
Related
I have been trying to understand how this concept works. Adding or removing code modules from laravel project. I have seen this feature in many places such as quickadminpanel.com, October CMS etc. These sites are used to create an admin panel quicker, there is an interesting feature that i found in quickadminpanel that is installing module that i need. Basically i want to achieve this but i don't know how to do !! May be someone can help as this feature and concept actually exists.
The author himself replied in a mail. Now the concept is much clear to me. He simply replied this, "It's similar to how Laravel works with stubs - copy-pasting files as templates, replacing the variables in content: youtube.com/watch?v=eWarTZuates&t=1s"
I am trying to move from core PHP to some framework. I am trying to use LARAVEL as I got good reviews for it. I am able to set it up and can see the welcome screen as given in the tutorial.
The problem is after I import the project in Aptana, the moment I open any file it starts showing syntax errors. It seems to me that Aptana is not supporting Laravel however I am not sure.
Tried to search how can i make it work. Can anyone help? In case I need to move some other IDE can anyone please suggest which IDE I should go for?
Currently I try to get PHP and Zend working on Eclipse. I'm not sure if there is a plugin for Zend or something that makes it comfortable to use in Eclipse, like automatically initializing default MVC-pattern like directory structure, and so on...
I was googling for it and found some tools... First I tried to download and install the PDT from Zend (http://www.zend.com/en/company/community/pdt/), which I did, but if I create a new PHP Project, there is no option to make a "new Zend project" or something like this, so I kept on searching, and found this:
https://code.google.com/p/zend-sdk/wiki/GettingStartedTutorialInEclipse
which absolutely had no visible effect on the GUI of Eclipse. I don't know if it even worked, but it doesn't look like on the screenshots at all. On the screenshots of this projects you can see that there is a option while creating a new PHP project called "Zend Framework default project structure". Below I attached a screenshot of my "new PHP project" dialog.
So, my question is... Did I do something wrong? Or is there currently no proper Zend integration in Eclipse?
Also I want you to know that I need Eclipse for many other programming languages, so I don't really want to have a IDE for each language and it would be nice to get it to work on Eclipse somehow...
I am using Eclipse Juno... If I forgot to provide further information please let me know so I can hand them in later.
I appreciate every kind of help... Thanks in advance
I have tried for several days now to get autocomplete working.
I have a clean install of Eclipse PDT and another with plugins like aptana and subversion, but neither works with autocomplete.
What do I have to do to get autocomplete working? Do i need some shortcut for this? In Netbeans it is working without a shortcut...and this video looks like its working in eclipse too.
Thanks for any hints and help ;)
For me, when using PDT, when I begin to type a variable, I can do Ctrl-space and I get a list of matching defined variables in my code. I believe you can get the list automatically. If you go Window » Preferences, then find PHP in the left column. Expand PHP, expand Editor, and select Code Assist. I believe Auto Activation is the option to pop up the autocomplete automatically.
I tried to follow the accepted answer with no use. Then I found answer to this question in another SO thread. Basically all you need to do is right click on the project and go to Configure > Add PHP support. If that option is grayed out then you already marked project as the PDT project.
hint: check General > Editors > File Associations > .php (.phtml,...) if default editor is "PHP Editor"
ok, i found the solution now. if anyone else has same problems here is the way:
go to window->preferences->PHP->Editor->Code Assist
This worked for me
Right click on you project in the project Explorer » Configure » Add PHP support...
I am attempting to setup codeigniter with eclipse but am getting project errors. From what I understand this should be as simple as creating a new project in eclipse and pointing to the root directory of codeigniter. This properly loads up the codeigniter files but eclipse reports several errors. Looking into the files, it seems like the errors are coming from html files and/or files that print html. For instance, footer.php is showing up as having an error because there is a closing tag but no opening tag. Any suggestions on how to overcome this? At this point would code completion / debugging be too much to ask for as well?
UPDATE: so from what I am gathering from the response below (and searching around on the web) is that when using codeigniter with eclipse one can only take advantage of the code completion / editing features? I also noticed that I am getting NoClassDefFoundError when attempting to open some of the .php files in the eclipse project tree for editing. Surely I must be missing something and there is a way to achieve tighter integration with codeigniter and eclipse? (i would strongly prefer to stick with eclipse as opposed to switching ides) Or maybe this is an issue with my eclipse/pdt setup?
UPDATE 2: I just downloaded the latest eclipse version (galileo) and it seemed to fix all of these issues! except for debugging of course ...
you can achieve tighter integration by initializing the Ci core classes in CI_Base constructor which will also allow you to get auto complete for core classes check out these links:
http://www.gostomski.co.uk/codeigniter/getting-full-auto-complete-with-codeigniter-in-eclipse
http://hetal.wordpress.com/2009/09/04/working-with-eclipse-and-code-igniter/
you will get lots of html errors because the html has been broken into chunks
and is not a complete document
just ignore them thats what i do (there are settings somewhere that control what errors are validated against in eclipse)
i still use the php/html/js code completion and it works fine even with the errors
if you are using svn version control, add subclipse plugin, so you can do that from within eclipse too
Try Aptana.
The last time I checked I was able to do a step by step debug on it and did not see any errors in my project. It is also built on eclipse, so there is nothing new to learn.
For what it's worth, I have been able to get debugging to work using XDebug and the Netbeans IDE. If you cannot get debugging to work in Eclipse you might give Netbeans a try - if for no other reason, to have the ability to debug should you ever need to step through your application's code...