I have a weird scenario where the tooltip information when hovering over a variable in Visual Studio code stops working with the Jest testing framework. The exact same test in Mocha will show the tooltip when I debug.
VSCode version 1.16.1
This is the tooltip that normally appears:
The test that causes the tooltip to stop displaying:
var axios = require('axios')
describe('asdf', () =>{
it('does stuff', async () => {
var boo = { 'hi':'bye'}
console.log(boo)
// uncomment out this line and the tooltip disappears!
//var result = axios.post('', {})
})
})
看来这是VSCode中的错误,在这里报告
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.