问题描述
我更新了 sublime 文本,之后我似乎看不到屏幕顶部的菜单栏,但现在必须单击 3 行按钮才能查看它。有什么方法可以像平常一样显示菜单栏又来了?
我尝试去“查看”并启用它,但我找不到任何“菜单栏设置”
解决方法
我认为显示汉堡菜单是您当前主题的一项功能。 尝试更改您的主题首选项-->选择主题
快乐编码:)
,这有点奇怪,因为我的“查看”菜单在顶部附近有一个“隐藏/显示菜单”选项。无论如何,要显示菜单(或再次隐藏),请选择 @PostMapping(value = "/downloadextract",produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
public ResponseEntity<?> downloadExtract(HttpServletResponse response) throws IOException{
HttpEntity httpEntity = new HttpEntity<>(new LinkedMultiValueMap<>());
ResponseExtractor<Object> extractor = restClient -> {
StreamUtils.copy(restClient.getBody(),response.getOutputStream());
return null;
};
RequestCallback callback = req -> {
req.getHeaders().add("auth","token");
};
response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
response.addHeader(HttpHeaders.CONTENT_DISPOSITION,"attachment; filename=test.zip");
restTemplate.execute("http://localhost:8081/test",HttpMethod.POST,callback,extractor);
return ResponseEntity.ok().build();
}
(或点击 Ctrl`)并输入以下命令:
View → Show Console
菜单应该会再次出现。