QFT. The whole point to learning all that theory is so you can hear it -- especially, in your head. iow, the very best jazz improvisors aren't thinking "here comes an altered dominant 7th chord, I'd better whip out my lydian b7 and/or diminished licks now" Rather, they hear the altered dominant 7th chord and in their head they hear a line or a melody or something that fits. And they reach for that line/melody/something that fits instinctively because they know -- from having practiced a crap-ton -- that the sound of what they want to play will probably be based on the notes from a lydian b7 and/or diminished collection (whichever they practiced a crap-ton thereof). But it's all about being able to hear the sound in your head in the moment, and being so familiar with what constitutes that sound that you're able to play the correct [sic] notes without having to think about the theory behind it first.