CodeLobster IDE
http://codelobster.com/forum/

Wordpress - PHP Debugging - Bootstrap
http://codelobster.com/forum/viewtopic.php?f=8&t=24901
Page 1 of 1

Author:  U2Pas [ Mon Oct 19, 2020 9:01 pm ]
Post subject:  Wordpress - PHP Debugging - Bootstrap

I am in Trial of CodeLobster and have some questions, maybe I am just using it wrong

First - configuring php debug mode for i.e. xampp env or generally should have small explanation somewhere, I found out myself but it would be just a few sentences to save time and nerves...

I could create a new wordpress project, but how to edit a existing theme ?
Would be nice to create new project from existing wordpress install easily or maybe I did just something wrong ?

Then if I create a new plain wordpress project, after creation it runs like automatically through and makes a check if errors or problems detected in pages.
This seems not to happen with existing project or maybe it does not detect it ?
I have a page with i.e. depreceated php function "get_currentuserinfo", if I run validate it does not mark or show anything, only with mouseover it shows then depreceated.

Page Debugging:
If I edit a wordpress page and press regular Debug button it tries just to open this php page in browser.
I should be able to set a certain URL for test, because it requires some wordpress components to load first or needs some parameters too.
I can do it with set a Debug URL, but then it always starts to first command in index.php and then waits, it should just run until my first breakpoint!
Same if I switch to Preview Pane, it would be nice a defined URL could be set which will be used for preview.
And having the code window and the preview pane both visible next each other would be best, so I could change code, hit i.e. F5 and preview window runs page until first breakpoint.
I know I can do it with external Browser, but if I run like this, it opens Browser and is focused on it, so as I hit F11 for next step it opens Full Screen because focus wrong app...

CSS:
I could download bootstrap offline, but then what's next ?
i.e. my Wordpress uses bootstrap, it is just called in Head section on some main page.
So if I edit a wordpress theme page, I should be able to link somewhere which css should be checked too for autocomplete ?

thank you for any response or future improvement in app

Author:  Admin [ Tue Oct 20, 2020 12:40 pm ]
Post subject:  Re: Wordpress - PHP Debugging - Bootstrap

Hi.

1) Our online helps includes a special section about debuggung:
http://codelobsteride.com/help/#setting ... r_php.html

2) WordPress wizard installs basic WP configuration.
Most often people use some live project (they downloaded the project and open it by Project->Open Project).
Codelobster detects it as a WordPress projects and turn all special features automatically.

3) PHP validator detects syntax errors only, it doesn't detect deprecated functions.

4) Please, turn "Plugins->Plugins Manager ->Bootstrap plug-in" on.
And all Bootstrap classes will be available everywhere.

5) Codelobster parses all included files like
<link rel="stylesheet" href="...
and others and creates a list of available classes for CSS autocomplete.

Regards,
Codelobster Team.

Author:  Guest [ Sat Oct 24, 2020 9:07 pm ]
Post subject:  Re: Wordpress - PHP Debugging - Bootstrap

thank you, so far so good, but

5. it does not help me automatic parsing for css in a wordpress page.
There should be a possibility to manually reference style.css or other css manually too.

Would be a nice feature for future

However I wrote a PowerShell Script which does create a file like bootstrap extension and uses a copy of this plugin, so all my classes appear nicely

regards

Author:  Admin [ Fri Nov 06, 2020 7:07 pm ]
Post subject:  Re: Wordpress - PHP Debugging - Bootstrap

Hi.

Thanks for the suggestion about manual CSS reference.
We will consider it.

Regards,
Codelobster Team.

Author:  Guest [ Thu Dec 31, 2020 1:36 pm ]
Post subject:  Re: Wordpress - PHP Debugging - Bootstrap

[quote]thank you, so far so good, but

5. it does not help me automatic parsing for css in a wordpress page.
There should be a possibility to manually reference style.css or other css manually too.

Would be a nice feature for future

However I wrote a PowerShell Script which does create a file like bootstrap extension and uses a copy of this plugin, so all my classes appear nicely

regards[/quote]

greetings
could you please share your script, it would be really helpful

Author:  billw22 [ Thu Dec 31, 2020 1:37 pm ]
Post subject:  Re: Wordpress - PHP Debugging - Bootstrap

[quote="Guest"][quote]thank you, so far so good, but

5. it does not help me automatic parsing for css in a wordpress page. Info at https://homework-writer.com/ site
There should be a possibility to manually reference style.css or other css manually too.

Would be a nice feature for future

However I wrote a PowerShell Script which does create a file like bootstrap extension and uses a copy of this plugin, so all my classes appear nicely

regards[/quote]

greetings
could you please share your script, it would be really helpful[/quote]
same here!

Author:  Admin [ Fri Oct 07, 2022 1:03 am ]
Post subject:  Re: Wordpress - PHP Debugging - Bootstrap

Hi.

Could You, please, send us the sample of page that You mean (with included CSS and some screenshots).

Thanks,
Codelobster Team.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/