Feature Request: add an sap.xml.ignorePaths option

Đã đóng
#459 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
tooling

Hướng nghiên cứu

No source file, test, or entry point is named. Start by locating how XML validation settings are read, then compare the requested sap.xml.ignorePaths behavior with the files.associations workaround and cSpell.ignorePaths or .eslintignore patterns; done means selected XML files skip validation while retaining syntax highlighting and schema support.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Sometimes you need to skip XML validation (e.g. a bug in your addon or XMLs from libs) without dropping syntax-highlighting or schema support

Current hack

current weird workaround
	"files.associations": {
		"**/node_modules/**/*.xml": "plaintext"
	},

other example would be the "cSpell.ignorePaths" flag in settings or like .eslintignore file

That way you can temporarily ignore known-issue XML files and remove the patterns once the underlying bugs are fixed.

Ngôn ngữ chính
JavaScript
Star
59
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.