在VSCode中,有一个用于选择所有当前选择项的快捷方式。默认情况下,它与 //call begins here
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Clear();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", access_token);
if (Entity.isJsonAcceptHeader) client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
else client.DefaultRequestHeaders.Add("Accept", "text/html");
if (Entity.Context != null)
client.DefaultRequestHeaders.Add("WebsiteGuid", GlobalFunctions.GetWebsiteGuidFromHeader(Entity.Context.Request));
else
client.DefaultRequestHeaders.Add("WebsiteGuid", WebSiteGuid);
if (Entity.Context != null)
client.DefaultRequestHeaders.Add("LanguageGuid", GlobalFunctions.GetLanguageGuidFromHeader(Entity.Context.Request));
else
client.DefaultRequestHeaders.Add("LanguageGuid", LanguageGuid);
HttpResponseMessage Res = await client.GetAsync(Entity.url);
if (Res.IsSuccessStatusCode)
{
response = await Res.Content.ReadAsStringAsync();
}
}
一起使用。
选择一个单词并按下它时,也会自动选择所有出现的单词。
IntelliJ的替代品是什么?
答案 0 :(得分:1)
Shift + Ctrl + Alt + J https://blog.jetbrains.com/idea/2014/03/intellij-idea-13-1-rc-introduces-sublime-text-style-multiple-selections/#:~:targetText=Add%2Fremove%20a%20selection%3A%20Alt,G%20for%20Mac%20OS%20X)
Alt + J仅用于下一个选择
答案 1 :(得分:0)
对于那些使用 VSCode 键盘映射的人,它是 Ctrl+F2 或 Ctrl+Shift+L。 您可以从 File > Settings > Keymap > Main Menu > Edit > Find > Select All Occurunses 更改映射