我正在看尚硅谷的springmvc的視頻,我看到佟剛老師用ctrl shift r就可以看springmvc的源碼,
比如說HiddenHttpMethodFilter,我卻看不到為什么?
我也想看,我該怎么看?
歡迎選擇我的課程,讓我們一起見證您的進步~~
For example, if you want to see HiddenHttpMethodFilter, if there is no source code package, you will see a bunch of English when you open it. It will prompt you which package this class is in. You can download the package with the suffix code -sources, for example, put it on the desktop. Click the attached button in the page that is all in English, select external location and find the sources package on your desktop to get the source code
You can consider importing it as a project:
Go to github and clone the project
Import your IDE according to the project’s build tool
Start the journey of looking at the source code
If it is a maven project, the source code package will be automatically downloaded when you click on the spring class through the ide.