Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > General Articles

Reply
 
Thread Tools
|DarkManX|'s Avatar
|DarkManX|
Join Date: Oct 2001
Posts: 161

 

Show Printable Version Email this Page Subscription
|DarkManX| |DarkManX| is offline 11-22-2001, 10:00 PM

i use homesite 4.5

it works really good for me....

wondering if there is anything better out there that you more professional guys use??
Reply With Quote
  #12  
Old 11-24-2001, 09:27 AM
Palmer ofShinra's Avatar
Palmer ofShinra Palmer ofShinra is offline
 
Join Date: Oct 2001
Location: Vancouver, BC, Canada
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TextPad all the way.

I just LOVE the options... syntax highlighting to easy find and replace, MDI, spell checker...

"Match Brackets" is a LIFESAVER.
Reply With Quote
  #13  
Old 11-27-2001, 02:29 AM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Palmer ofShinra
"Match Brackets" is a LIFESAVER.
Reply With Quote
  #14  
Old 11-27-2001, 04:28 AM
Dark Blaze's Avatar
Dark Blaze Dark Blaze is offline
 
Join Date: Nov 2001
Location: World Wide Web
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by SWFans.net
errrm, I really don?t know PHP, but I just use plain old Notepad until I need to do ?find and replace?, then I use Wordpad.
Reply With Quote
  #15  
Old 11-27-2001, 04:33 AM
Dark Blaze's Avatar
Dark Blaze Dark Blaze is offline
 
Join Date: Nov 2001
Location: World Wide Web
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Palmer ofShinra
TextPad all the way.

I just LOVE the options... syntax highlighting to easy find and replace, MDI, spell checker...

"Match Brackets" is a LIFESAVER.
Reply With Quote
  #16  
Old 11-27-2001, 12:02 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm just guessing, but maybe it's something that checks } and { and makes sure you don't have too many or too less?
Reply With Quote
  #17  
Old 11-27-2001, 06:50 PM
Dark Blaze's Avatar
Dark Blaze Dark Blaze is offline
 
Join Date: Nov 2001
Location: World Wide Web
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, probably that's the description of that feature would be if it actually exists...
Reply With Quote
  #18  
Old 11-28-2001, 09:08 AM
Palmer ofShinra's Avatar
Palmer ofShinra Palmer ofShinra is offline
 
Join Date: Oct 2001
Location: Vancouver, BC, Canada
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Put the cursor next to any bracket [ ( {

Hit Ctrl+M

It will jump to the matching bracket...

It's a great way to see if you missed a } when you have a dozen nested IFs, WHILES and FORs.

The easy way is to put it at the last } in each section [if ($action)] and then hit Ctrl+M.

if it doesn't go to the beginning, something's screwed. Then you can use it to narrow down where it's missing pretty quickly.

I can find a missing bracket and fix it in a couple minutes now, rather than the unreliable looking over it manually for half an hour, missing it a dozen times, commenting every bracket pair so you can match them up...

Only to discover you have a line like this

if ($condition) { dosomething;

With no closing }... cuz it's just one statement after an IF, right?

It also helps with nested ( ) for IF statements as well...
Reply With Quote
  #19  
Old 11-28-2001, 09:28 AM
Dark Blaze's Avatar
Dark Blaze Dark Blaze is offline
 
Join Date: Nov 2001
Location: World Wide Web
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for that info Palmer ofShinra
Reply With Quote
  #20  
Old 11-28-2001, 10:01 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It helps to do things like this:
PHP Code:
if ($foo=="bar") {
  for (
$i=10$i>0$i--) {
    echo 
"Who's your daddy?!?!";
  } 
// for ($i=10; $i>0; $i--)
// if ($foo=="bar") 
and even easier:
PHP Code:
if ($foo=="bar")
{
  for (
$i=10$i>0$i--)
  {
    echo 
"Who's your daddy?!?!";
  }
  
// for ($i=10; $i>0; $i--)
}
// if ($foo=="bar") 
like the standard is on C/++.

Personally I use the first method, then when releasing the code I just remove the comments to make it cleaner (the comments just help when testing the script, that's all).
Reply With Quote
  #21  
Old 11-28-2001, 10:18 AM
Dark Blaze's Avatar
Dark Blaze Dark Blaze is offline
 
Join Date: Nov 2001
Location: World Wide Web
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Btw FireFly, I was checking out Online Users Section, and I noticed that next to your name it said "No peeking Dark Blaze ;-)" or something similar... Could you tell me which script is that and where I can download it please?

Thank you,
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04959 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete