NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
warning about syntax errors when saving file


Joined: 23 Aug 2005
Posts: 51
Reply with quote
Hi

That red marker showing location of syntax error is so tiny and half transparent that
most of the times i dont notice it. I save file and upload it on the server and then find that
there's parse error. Very annoying.

I thought maybe phped can show some warning (configurable on/off) tellig that "the file
you are saving has errors, do you want to proceed?". It would save time and would
make updating live sites not as stressful.

Alexei
View user's profileFind all posts by alexeiSend private message


Joined: 23 Aug 2005
Posts: 51
Reply with quote
hi Dmitrie,

Any chance this feature will be added [soon]?

Alexei
View user's profileFind all posts by alexeiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
what if we add "Syntax check" for directories and projects to their popups? It could be done really [soon].
As of doing it during upload, it's much more complicated.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 23 Aug 2005
Posts: 51
Reply with quote
their popups? sorry i cant remember any directory/project popups Smile

i imagined it to look like a simple dialog box which appears on save event just before file is saved (file is broken. save / cancel)
similar to the one when file is closed (do you want to close file? yes/no/cancel)
View user's profileFind all posts by alexeiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
oh, that's easier Smile
good.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 23 Aug 2005
Posts: 51
Reply with quote
this feature once implemented would be a reason for me to upgrade to 4.5 Smile
View user's profileFind all posts by alexeiSend private message


Joined: 23 Aug 2005
Posts: 51
Reply with quote
unfortunately my pet feature didnt make it into PHPEd5! Smile
do you have any plans to add it?
i see it as just more advanced save dialog which will show warning and preps a list of all syntax errors if there are any in the current file
View user's profileFind all posts by alexeiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
For sure it's still in the plans. Sorry to say that there were things with higher priority to be implemented in 5.0.
I hope we'll have this request done in one of the next minor updates.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 23 Aug 2005
Posts: 51
Reply with quote
no worries, as long as you keep in in mind i can wait Smile
View user's profileFind all posts by alexeiSend private message
Really good idea


Joined: 06 Aug 2006
Posts: 6
Reply with quote
I think this FR is a really good idea - it would catch a lot of minor errors before uploading.

I'm working on a lot of my projects "live", so catching syntax errors which breaks the whole file before upload would really be a sweet thing.

Let's hope to see it in 5.1 Smile

/Jesper
View user's profileFind all posts by dudalSend private message


Joined: 23 Aug 2005
Posts: 51
Reply with quote
i do this error of updating syntactically broken file to live server again and again.
Please, add some warning before file is saved saying that there are errors.
View user's profileFind all posts by alexeiSend private message


Joined: 23 Aug 2005
Posts: 51
Reply with quote
just reminding about this feature request Smile
View user's profileFind all posts by alexeiSend private message
warning about syntax errors when saving file
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic