At my company we just started using .jenkinsfile as an extension.
build.jenkinsfile and deploy.jenkinsfileand so forth. It's worked well and our IDE's are able to parse the syntax just fine.
build.jenkinsfile
deploy.jenkinsfile