A general question about multi subroutine sketch

Hi all.

  1. to search a key word in a multi subroutine sketch is difficulty, need open each sub to do it, any way make it easy?
  2. switch between subroutines is difficulty,espically when the subs stack up and need click drop down key to get there, any hotkey or easy way?
  3. this one may be ignore or bonus? if the compiling can figure out the procedure flow chart, OK, forget this.

Thanks
Adam

What do you call subroutines? Multiple tabs, I guess.

  1. You conveniently forgot to mention the IDE that you are using :wink:
    In IDE 1.x you can tick a checkbox to search through all tabs.
    In IDE 2.x, you can click the magnifying class in the left bar.

No idea about 2 and 3.

1 Like

Hello shanren

My advice:

Use the Notepad editor and switch the IDE to "Use external editor".

2 Likes

Thanks.
yes, Multiple tabs. and mostly 1.x.
tick which checkbox, did my IDE missing some thing?

Thanks.
I'll try it.

The relevant checkbox is in the search window, not in preferences.
And you can switch between tabs simply by clicking on the tab.
I really don't see your problem.

1 Like

Thank you.
the total 26 tabs is stack up.

If you use IDE 2.x then you can right click on and function or variable in the sketch and open the file where it is defined

1 Like

I have had very rare occasion to use more than one tab. I refer to the program text as "the soup" and rely heavily on the search capabilities of my text editor, not gonna start an editor wars, and my own style habits to make that work better.

Whatcha got going on there in 26 tabs? If you would not have to kill us after doing, say a few words about your project!

a7

2 Likes

Thanks.
not complex, just a game gather, like Tetris, poker etc.
I put each game in a tab.

if you are using IDE 2.XX click Edit>Replace in Files - you can Serach and Replace in multiple tabs, e.g. here I am searching for "test"

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.