Various feedback

Hi
first I want to thank you for taking my favorite Java IDE into PHP realm! I'm already loving it and appreciate your work very much!

But then, I want to help improve WebIDE by reporting various issues I came across while testing it with a few current projects.
None of these are critical and some of them may actually be my fault by doing it wrong. All these are with WebIDE 94.149 on Ubuntu 32bit:

  1. I tried using the ftp sync feature with various ftp servers and I'm always getting the error message "Failed to change timestamp of the file 'foo.php'". But I know that at least on some of the ftp servers I tried the command "SITE UTIME" is available. So how does WebIDE try to set the timestamp then?
    And everytime I run the script ALL files are uploaded instead of just the changed ones. I realise there are many open FTP tickets in YouTrack and I guess this is already being worked on, or it corresponds to the error of the timestamp I'm getting. But nonetheless it's currently the only major issue that I came across...
  2. It should be possible to also invoke the "Quick Documentation Lookup [Ctrl-Q]" in the parameter list of a function. I stumpled upon this while editing a "date()" function, the first argument is the format which takes multiple identifiers like "d" for day or "m" for month. They are visible in the documentation but it was not possible to have it open while in the parameter list, so I had to move back to the function, press Ctrl-Q, remember the identifiers and then enter them in the argument several times.
    1. I can't seem to be able to rename a file without refactoring. Would it be possible to have another context entry "Rename" right above "Delete" in the Project Navigator?
    2. Ctrl-Shift-Enter is supposed to complete a statement. This is working well in HTML, but in PHP the cursor only jumps to the next line, but I would expect it to add the ; at the end of a statement too, or to add the curly braces on if, for etc.
    3. I'd love to see some kind of parameter preview on php functions just like in Aptana Studio. Essentially when autocompleting a function the IDE inserts the parameter names already and they can be navigated using [tab]. I think it would fit the overall workflow in WebIDE well. In case you don't what I mean I attached a screenshot showing the feature in Aptana Studio.
    4. The "Data Sources" don't seem to affect code completion. It would be very nice to get code completion for table names, fields etc when a Data Source is added. Especially on mysql_query("<here>");
    5. When writing an html tag with some attributes like <table >, on pressing [tab] on the location indicated by [here] I would prefer the curser to move after the next " and add a space instead of adding an actual tab. This would greatly increase speed for writing multiple attributes on a tag. Also navigation between attributes using tab would be a nice feature anyway.


      I'd appreciate your feedback to these points. In case someone can confirm these or I don't get any response at all I will file them into YouTrack as Bugs/Feature Requests respectively.

      Thank you for all your effort!
      balmac



      Attachment(s):
      param_preview.png
      0
      10 comments
      Avatar
      Permanently deleted user

      On #5 I was thinking the same thing, but when I ran the code check in the IDE it looks like they are not finished with inputting all the php native functions in yet, so this might be a feature that will be in the final release.  It appears it checks for validity of function parameters but it doesn't give details or hints yet.  I think another thing to go along with this is code coloring.  In Aptana you can color php native functions different from others, and this is very useful for me.

      0

      Thank you for the kind words.
      1. Feel free to open ticket so we can investigate the problem.
      2. Quick lookup works for element under cursor - this includes any parameters, so this is not possible. Open feature request - may be we can work something out.
      3. http://youtrack.jetbrains.net/issue/WI-843
      4. http://youtrack.jetbrains.net/issue/WI-76
      5. There's a parameter info hint (Ctrl+P)
      6. Try to inject MySQL language into your query string (Alt-Enter)
      7. File a feature request to http://youtrack.jetbrains.net/issues/WI

      0

      I'm sorry, but I didn't understand your point, albeit that you request separate coloring for built-in functions. Please explain the

      "On #5 I was thinking the same thing, but when I ran the code check in the IDE it looks like they are not finished with inputting all the php native functions in yet, so this might be a feature that will be in the final release.  It appears it checks for validity of function parameters but it doesn't give details or hints yet"

      part.

      Also you can always post tickets directly to tracker, sticking to ticket-per-feature/problem rule.

      0
      Avatar
      Permanently deleted user

      Alexey

      Thank you for your answer. I have filed most the issues/requests in YouTrack:

      1. http://youtrack.jetbrains.net/issue/WI-1057
      2. http://youtrack.jetbrains.net/issue/WI-1058
      3. Thank's, I overlooked this issue, I understand your reasoning and I can live with that Although it's irritating at first nonetheless...
      4. I added a comment to the request suggesting this for conditional and loop structures too.
      5. I already know about the parameter info hint and I use it a lot. But apparently Intellij has the function for editable variables already built in (used at the "Live Templates") and the approach used by Aptana Studio just seems to be faster. And since php doesn't support function overloading like java this works really well. But maybe this is just a personal thing...
      6. I just realised Language Injection isn't working at all - http://youtrack.jetbrains.net/issue/WI-1059
      7. http://youtrack.jetbrains.net/issue/WI-1060

      Thanks,
      balmac

      0

      I setted up data source. How I can invoke autocomplete for tables names at least in .sql file (WebIDE 94.149)? Or it isn't supported yet?

      0

      CTRL+Space should work ^)

      0

      Unfortunately with Ctrl+Space I see only list with SQL operators, not tables names.

      no_tables_names_autocomplete.png

      0
      Avatar
      Permanently deleted user

      slightly off topic, but with regard to (5) - does anyone know if there's a way to turn the parameter info hint on by default so it shows all the time rather than requiring me to press ctrl/cmd-p?
      thx!
      -w

      0

      Please sign in to leave a comment.