3 ms·
Ask HN: Is there syntax aware Git diff?
Git diff is great but sometimes I really wish there was smart diff which i could configure my IDE, vscode, to use.
Sometimes I wish vscode could understand that I don't care if function abc() { ... became function abc () { ... or {a:1,b:2} became {a:1,b:2,}...
not sure where this functionality needs to lie but if git could be configured or vscode, it already has typescrpit engine which can see if code is different or not syntactically..
TLDR: git diff that doesn't tag changes that don't affect the execution of the program. Because I use git diff to figure out if PR is affecting something important, but have to filter out styling changes.