Sublime Forum

Sublime Text4 can't remember my build select

#1

Today I update Sublime Text 4 from Sublime Text 3, but I find an issue.

when I press “ctrl+shift+b” to build with, I select my choice like this:

but when I press “ctrl+b” to build, It just remembers what I select when I press “ctrl+shift+b”.

please help me.

0 Likes

#2

Could you clarify what the problem is? To me that reads like you’re experiencing the expected behavior.

0 Likes

#3

I want to use “ctrl+b” to build c++ single file, and use “ctrl+shift+b” to run it. But now “ctrl+b” remember what “ctrl+shift+b” choosed. when “ctrl+shift+b”, If I choose runCPP then “ctrl+b” will runCPP, if I choose runCPP-Run, then “ctrl+b” will runCPP-Run.

the settings is default.

0 Likes

#4

here is a demo, please help me http://www.potatochip.cn/ice_video_20210527-163748.mp4

0 Likes

#5

anybody konws?

0 Likes

#6

What you’re describing is how it’s intended to work. You press CTRL+B to run the last selected build variant. And you press CTRL+SHIFT+B to select and run another variant. This is how it also worked in ST3.

0 Likes

#7

but in ST3, CTRL+B is build and CTRL+SHIFT+B is run, but now both CTRL+B and CTRL+SHIFT+B is the same…

0 Likes

#8

but in ST3, CTRL+B is build and CTRL+SHIFT+B is run, but now both CTRL+B and CTRL+SHIFT+B is the same…

0 Likes

#9

It still works the way described as here on Windows 10 Build 3211 in a fresh state.

1 Like

#10

thanks, though not the same with Sublime Text 3…

0 Likes

#11

It sounds like you may have had a custom key binding in place to change what that key does.

Did you do a fresh install of ST4 or did you upgrade from a previous version?

0 Likes